Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 386 for token3 (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if (this.token != null) {
                System.arraycopy(this.token, 0, dst, dstIndex, this.token.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/security/oauth2-jwt.md

    Этот код можно реально использовать в своем приложении, сохранять хэши паролей в базе данных и т.д.
    
    Мы продолжим разбираться, начиная с того места, на котором остановились в предыдущей главе.
    
    ## Про JWT
    
    JWT означает "JSON Web Tokens".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Token validation failed", exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

        /**
         * Constructs a KerberosTicket from token bytes.
         *
         * @param token the ticket token bytes
         * @param apOptions AP options flags
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if ticket decoding fails
         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            // Test constructor with whitespace in type
            String type = "  Bearer Token  ";
            String message = "Whitespace in token type";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals("  Bearer Token  ", exception.getType());
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        /**
         * Gets the OpenID Connect token server URL.
         *
         * @return the token server URL
         */
        protected String getOicTokenServerUrl() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_TOKEN_SERVER_URL, "https://accounts.google.com/o/oauth2/token");
        }
    
        /**
         * Gets the OpenID Connect redirect URL.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top