- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 620 for mytoken (0.04 seconds)
-
tests/test_tutorial/test_security/test_tutorial003.py
def test_login(client: TestClient): response = client.post("/token", data={"username": "johndoe", "password": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"access_token": "johndoe", "token_type": "bearer"} def test_login_incorrect_password(client: TestClient): response = client.post( "/token", data={"username": "johndoe", "password": "incorrect"} )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
this.targetName = targetName; } @Override public byte[] initSecContext(final byte[] token, final int offset, final int len) throws SmbException { return switch (this.state) { case 1 -> makeNegotiate(token); case 2 -> makeAuthenticate(token); default -> throw new SmbException("Invalid state"); }; } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
docs/sts/client-grants.md
## API Request Parameters ### Token The OAuth 2.0 access token that is provided by the identity provider. Application must get this token by authenticating the application using client credential grants before the application makes an AssumeRoleWithClientGrants call.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
} /** * Get the access token. * @param id The ID of the access token. * @return The access token. */ public OptionalEntity<AccessToken> getAccessToken(final String id) { return accessTokenBhv.selectByPK(id); } /** * Store the access token. * @param accessToken The access token. */ public void store(final AccessToken accessToken) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
SpnegoContext ctx = newContext(); // The initial token path should ask the mechanism for a zero-length optimistic token when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/jwt/parser.go
tokenBuf := base64BufPool.Get() defer base64BufPool.Put(tokenBuf) token := *tokenBuf // Copy token to buffer, truncate to length. token = token[:copy(token[:base64BufferSize], tokenStr)] signer, err := ParseUnverifiedStandardClaims(token, claims, *bufp) if err != nil { return err } i := bytes.LastIndexByte(token, '.') if i < 0 { return jwtgo.ErrSignatureInvalid }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
docs/ru/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" ] }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
void testSerializationOmittingNullFields() throws IOException { NegTokenTarg token = new NegTokenTarg(); token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE); // mechanism, token and mic are left null byte[] bytes = token.toByteArray(); NegTokenTarg parsed = new NegTokenTarg(bytes);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
/** * The role for this action. */ public static final String ROLE = "admin-accesstoken"; /** * The token parameter. */ public static final String TOKEN = "token"; /** * The expires parameter. */ public static final String EXPIRES = "expires"; /** * The expired time parameter. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 15.9K bytes - Click Count (0)