Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,419 for tolen (0.14 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    But it's signed. So, when you receive a token that you emitted, you can verify that you actually emitted it.
    
    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/get-current-user.md

        ```Python hl_lines="25"
        {!> ../../../docs_src/security/tutorial002.py!}
        ```
    
    ## Den Benutzer holen
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    === "Python 3.10+"
    
        ```Python hl_lines="19-22  26-27"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    ## Return the token
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/config/common_test.go

    					t.Fatalf("unexpected error returned by GroupVersionKindsFromBytes: %v", err)
    				}
    				if len(gvks) != len(test.expectedKinds) {
    					t.Fatalf("length mismatch between resulting gvks and expected kinds:\n\tlen(gvks)=%d\n\tlen(expectedKinds)=%d",
    						len(gvks), len(test.expectedKinds))
    				}
    				for _, expectedKind := range test.expectedKinds {
    					if !kubeadmutil.GroupVersionKindsHasKind(gvks, expectedKind) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.NEW_INFERENCE_ERROR) { firDiagnostic ->
            NewInferenceErrorImpl(
                firDiagnostic.a,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.OTHER_ERROR) { firDiagnostic ->
            OtherErrorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 210.1K bytes
    - Viewed (0)
  6. src/go/scanner/scanner_test.go

    	{token.LAND, "&&", operator},
    	{token.LOR, "||", operator},
    	{token.ARROW, "<-", operator},
    	{token.INC, "++", operator},
    	{token.DEC, "--", operator},
    
    	{token.EQL, "==", operator},
    	{token.LSS, "<", operator},
    	{token.GTR, ">", operator},
    	{token.ASSIGN, "=", operator},
    	{token.NOT, "!", operator},
    
    	{token.NEQ, "!=", operator},
    	{token.LEQ, "<=", operator},
    	{token.GEQ, ">=", operator},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaFirDiagnostic.IllegalUnderscore
    
    internal class ExpressionExpectedImpl(
        firDiagnostic: KtPsiDiagnostic,
        token: KaLifetimeToken,
    ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaFirDiagnostic.ExpressionExpected
    
    internal class AssignmentInExpressionContextImpl(
        firDiagnostic: KtPsiDiagnostic,
        token: KaLifetimeToken,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 227.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_bigger_applications/test_main_an.py

        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/go/ast/ast.go

    	//
    	Ellipsis struct {
    		Ellipsis token.Pos // position of "..."
    		Elt      Expr      // ellipsis element type (parameter lists only); or nil
    	}
    
    	// A BasicLit node represents a literal of basic type.
    	BasicLit struct {
    		ValuePos token.Pos   // literal position
    		Kind     token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt

        val annotationMarker = token(AT) * notWhiteSpace()
    
        val simpleIdentifier by debug {
            symbol()
        }
    
        val label by debug {
            simpleIdentifier * token(AT)
        }
    
        val comparisonOperator by debug {
            token(LT) + token(GT) + token(LTEQ) + token(GTEQ)
        }
    
        val equalityOperator by debug {
            token(EXCLEQ) + token(EXCLEQEQEQ) + token(EQEQ) + token(EQEQEQ)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top