Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Token (0.01 sec)

  1. 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`
    
    Crea un `timedelta` con el tiempo de expiración del token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. 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 capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

        void testParseRejectsUnknownField() throws Exception {
            ASN1TaggedObject unknown = new DERTaggedObject(true, 7, new DEROctetString(new byte[] { 0x01 }));
            byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, null, null, unknown);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/oauth2-jwt.md

    Aber er ist signiert. Wenn Sie also einen von Ihnen gesendeten Token zurückerhalten, können Sie überprüfen, ob Sie ihn tatsächlich gesendet haben.
    
    Auf diese Weise können Sie einen Token mit einer Gültigkeitsdauer von beispielsweise einer Woche erstellen. Und wenn der Benutzer am nächsten Tag mit dem Token zurückkommt, wissen Sie, dass der Benutzer immer noch bei Ihrem System angemeldet ist.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. 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");
            };
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SSPContextTest.java

            @Override
            public byte[] initSecContext(byte[] token, int off, int len) throws CIFSException {
                if (token == null) {
                    if (len == 0) {
                        return new byte[0];
                    }
                    throw new CIFSException("token is null but len > 0");
                }
                if (off < 0 || len < 0 || off > token.length || off + len > token.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/bufio/scan.go

    					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
    				}
    				s.setErr(err)
    				return false
    			}
    			if !s.advance(advance) {
    				return false
    			}
    			s.token = token
    			if token != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top