- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 319 for token (0.03 sec)
-
docs/es/docs/tutorial/security/oauth2-jwt.md
Actualiza `get_current_user` para recibir el mismo token que antes, pero esta vez, usando tokens JWT. Decodifica el token recibido, verifícalo y devuelve el usuario actual. Si el token es inválido, devuelve un error HTTP de inmediato. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Actualizar la *path operation* `/token` { #update-the-token-path-operation }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
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: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
Aktualisieren Sie `get_current_user`, um den gleichen Token wie zuvor zu erhalten, dieses Mal jedoch unter Verwendung von JWT-Tokens. Dekodieren Sie den empfangenen Token, validieren Sie ihn und geben Sie den aktuellen Benutzer zurück. Wenn der Token ungültig ist, geben Sie sofort einen HTTP-Fehler zurück. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Die *Pfadoperation* `/token` aktualisieren { #update-the-token-path-operation }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 01 15:19:54 UTC 2025 - 12.7K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.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: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 21.3K bytes - Viewed (0) -
cmd/sts-datatypes.go
// This is traditionally the client identifier issued to the application that // requested the client grants. Audience string `xml:",omitempty"` // The temporary security credentials, which include an access key ID, a secret // access key, and a security (or session) token. // // Note: The size of the security token that STS APIs return is not fixed. We
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Security Buffer Length assertEquals(token.length, SMBUtil.readInt2(buffer, bodyOffset + 14)); // Previous Session ID assertEquals(previousSessionId, SMBUtil.readInt8(buffer, bodyOffset + 16)); // Token content byte[] actualToken = new byte[token.length]; System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length); assertArrayEquals(token, actualToken);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
} /** * Constructs a NegTokenInit by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenInit(final byte[] token) throws IOException { parse(token); } /** * Gets the context flags indicating security capabilitiesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
* <li>TOKEN_NAME - The name of the token parameter.</li> * <li>TOKEN_METHOD - The HTTP method to use for the token request (GET or POST).</li> * <li>TOKEN_PARAMTERS - The parameters to include in the token request.</li> * <li>LOGIN_METHOD - The HTTP method to use for the login request (GET or POST).</li> * <li>LOGIN_URL - The URL to send the login request to.</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
src/bufio/scan.go
if s.end > s.start || s.err != nil { advance, token, err := s.split(s.buf[s.start:s.end], s.err != nil) if err != nil { if err == ErrFinalToken { s.token = token s.done = true // When token is not nil, it means the scanning stops // with a trailing token, and thus the return value // should be true to indicate the existence of the token. return token != nil
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
/// ## Den Token zurückgeben { #return-the-token } Die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> des `token`-Endpunkts muss ein JSON-Objekt sein. Es sollte einen `token_type` haben. Da wir in unserem Fall „Bearer“-Token verwenden, sollte der Token-Typ "`bearer`" sein.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.2K bytes - Viewed (0)