Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for unauthorized (0.11 sec)

  1. docs/de/docs/tutorial/security/first-steps.md

    Wenn es keinen `Authorization`-Header sieht, oder der Wert keinen `Bearer `-Token hat, antwortet es direkt mit einem 401-Statuscode-Error (`UNAUTHORIZED`).
    
    Sie müssen nicht einmal prüfen, ob der Token existiert, um einen Fehler zurückzugeben. Seien Sie sicher, dass Ihre Funktion, wenn sie ausgeführt wird, ein `str` in diesem Token enthält.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/security/simple-oauth2.md

    /// info | Дополнительная информация
    Дополнительный HTTP-заголовок `WWW-Authenticate` со значением `Bearer`, который мы здесь возвращаем, также является частью спецификации.
    
    Любой HTTP статус-код 401 "UNAUTHORIZED" должен также возвращать заголовок `WWW-Authenticate`.
    
    В случае с bearer-токенами (наш случай) значение этого заголовка должно быть `Bearer`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/security/first-steps.md

    ///
    
    ## 实现的操作
    
    FastAPI 校验请求中的 `Authorization` 请求头,核对请求头的值是不是由 `Bearer ` + 令牌组成, 并返回令牌字符串(`str`)。
    
    如果没有找到 `Authorization` 请求头,或请求头的值不是 `Bearer ` + 令牌。FastAPI 直接返回 401 错误状态码(`UNAUTHORIZED`)。
    
    开发者不需要检查错误信息,查看令牌是否存在,只要该函数能够执行,函数中就会包含令牌字符串。
    
    正如下图所示,API 文档已经包含了这项功能:
    
    <img src="/img/tutorial/security/image03.png">
    
    目前,暂时还没有实现验证令牌是否有效的功能,不过后文很快就会介绍的。
    
    ## 小结
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/main/resources/fess_message.properties

    errors.invalid_header_for_request_file=Invalid header line: {0}
    errors.could_not_delete_logged_in_user=You cannot delete a user who is logged in.
    errors.unauthorized_request=Unauthorized request.
    errors.failed_to_print_thread_dump=Failed to print a thread dump.
    errors.file_is_not_supported={0} is not supported.
    errors.plugin_file_is_not_found={0} is not found.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/main/resources/fess_message_en.properties

    errors.invalid_header_for_request_file=Invalid header line: {0}
    errors.could_not_delete_logged_in_user=You cannot delete a user who is logged in.
    errors.unauthorized_request=Unauthorized request.
    errors.failed_to_print_thread_dump=Failed to print a thread dump.
    errors.file_is_not_supported={0} is not supported.
    errors.plugin_file_is_not_found={0} is not found.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                if (status) {
                    return new ActionResponseCredential(() -> {
                        throw new RequestLoggingFilter.RequestClientErrorException("Your request is not authorized.", "401 Unauthorized",
                                HttpServletResponse.SC_UNAUTHORIZED);
                    });
                }
    
                // assert
                if (null == principal) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  7. docs/pt/docs/tutorial/security/simple-oauth2.md

    /// info | Informação
    
    O cabeçalho adicional `WWW-Authenticate` com valor `Bearer` que estamos retornando aqui também faz parte da especificação.
    
    Qualquer código de status HTTP (erro) 401 "UNAUTHORIZED" também deve retornar um cabeçalho `WWW-Authenticate`.
    
    No caso de tokens ao portador (nosso caso), o valor desse cabeçalho deve ser `Bearer`.
    
    Na verdade, você pode pular esse cabeçalho extra e ainda funcionaria.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/security/simple-oauth2.md

    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003.py hl[58:67,69:72,90] *}
    
    /// info | 说明
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401**UNAUTHORIZED**HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    这就是遵循标准的好处……
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

        public void validateRemoteAccess(long remoteAddress, int length, int remoteKey) {
            // Validate that remote memory access is authorized
            // This would integrate with SMB3 encryption/signing
            if (!isAuthorizedAccess(remoteAddress, length, remoteKey)) {
                throw new SecurityException("Unauthorized RDMA remote access");
            }
        }
        
        private boolean isAuthorizedAccess(long address, int length, int key) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * The network response's status code is most influential when deciding how to follow up:
       *
       *  * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.)
       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top