- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 620 for Token (0.12 sec)
-
internal/config/identity/openid/provider/keycloak.go
package provider import ( "encoding/json" "errors" "fmt" "net/http" "net/url" "path" "strings" "sync" ) // Token - parses the output from IDP id_token. type Token struct { AccessToken string `json:"access_token"` Expiry int `json:"expires_in"` } // KeycloakProvider implements Provider interface for KeyCloak Identity Provider.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/uk/docs/tutorial/header-params.md
Наприклад, щоб оголосити заголовок `X-Token`, який може з’являтися більше ніж один раз: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} Якщо Ви взаємодієте з цією операцією шляху, надсилаючи два HTTP-заголовки, наприклад: ``` X-Token: foo X-Token: bar ``` Відповідь буде така: ```JSON { "X-Token values": [ "bar", "foo" ] } ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 22 22:02:19 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
For example, to declare a header of `X-Token` that can appear more than once, you can write: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} If you communicate with that *path operation* sending two HTTP headers like: ``` X-Token: foo X-Token: bar ``` The response would be like: ```JSON { "X-Token values": [ "bar", "foo" ] } ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenTarg by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenTarg(final byte[] token) throws IOException { parse(token); } /** * Gets the negotiation result code * @return the result code */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py310/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/app_testing/app_b_py39/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
/** * Generate the access token. * @return The access token. */ public String generateAccessToken() { return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random); } /** * Get the access token from the request. * @param request The request. * @return The access token. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryption * @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
/// ## Return the token { #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: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
/// ## Devolver el token { #return-the-token } El response del endpoint `token` debe ser un objeto JSON. Debe tener un `token_type`. En nuestro caso, como estamos usando tokens "Bearer", el tipo de token debe ser "`bearer`". Y debe tener un `access_token`, con un string que contenga nuestro token de acceso.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0)