Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for bearer (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

        public void test_getAccessTokenFromRequest_ok0() {
            final String token = accessTokenHelper.generateAccessToken();
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", "Bearer " + token);
            assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_ok1() {
            final String token = accessTokenHelper.generateAccessToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/first-steps.md

        * But it needs authentication for that specific endpoint.
        * So, to authenticate with our API, it sends a header `Authorization` with a value of `Bearer ` plus the token.
        * If the token contains `foobar`, the content of the `Authorization` header would be: `Bearer foobar`.
    
    ## **FastAPI**'s `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    /// info
    
    The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
    Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
    In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
    You can actually skip that extra header and it would still work.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

     */
    public class AccessTokenHelper {
    
        /**
         * Default constructor.
         */
        public AccessTokenHelper() {
            // nothing
        }
    
        /**
         * The bearer string.
         */
        protected static final String BEARER = "Bearer";
    
        /**
         * The random instance.
         */
        protected Random random = new SecureRandom();
    
        /**
         * Generate the access token.
         * @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)
  5. 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)
  6. docs/es/docs/tutorial/security/index.md

    * `apiKey`: una clave específica de la aplicación que puede provenir de:
      * Un parámetro de query.
      * Un header.
      * Una cookie.
    * `http`: sistemas de autenticación HTTP estándar, incluyendo:
      * `bearer`: un header `Authorization` con un valor de `Bearer ` más un token. Esto se hereda de OAuth2.
      * Autenticación básica HTTP.
      * Digest HTTP, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/security/index.md

        * Параметров запроса.
        * Заголовка.
        * Cookies.
    * `http`: стандартные системы аутентификации по протоколу HTTP, включая:
        * `bearer`: заголовок `Authorization` со значением `Bearer {уникальный токен}`. Это унаследовано от OAuth2.
        * Базовая аутентификация по протоколу HTTP.
        * HTTP Digest и т.д.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/index.md

    OpenAPI define os seguintes esquemas de segurança:
    
    * `apiKey`: uma chave específica de aplicação que pode vir de:
        * Um parâmetro query.
        * Um header.
        * Um cookie.
    * `http`: padrão HTTP de sistemas autenticação, incluindo:
        * `bearer`: um header de `Authorization` com valor de `Bearer` adicionado de um token. Isso é herança do OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/security/index.md

    * `apiKey`: ein anwendungsspezifischer Schlüssel, der stammen kann von:
        * Einem Query-Parameter.
        * Einem Header.
        * Einem Cookie.
    * `http`: Standard-HTTP-Authentifizierungssysteme, einschließlich:
        * `bearer`: ein Header `Authorization` mit dem Wert `Bearer` plus einem Token. Dies wird von OAuth2 geerbt.
        * HTTP Basic Authentication.
        * HTTP Digest, usw.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/index.md

    OpenAPI defines the following security schemes:
    
    * `apiKey`: an application specific key that can come from:
        * A query parameter.
        * A header.
        * A cookie.
    * `http`: standard HTTP authentication systems, including:
        * `bearer`: a header `Authorization` with a value of `Bearer ` plus a token. This is inherited from OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top