Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 121 for Unauthorized (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/security/api_key.py

            """
            The WWW-Authenticate header is not standardized for API Key authentication but
            the HTTP specification requires that an error of 401 "Unauthorized" must
            include a WWW-Authenticate header.
    
            Ref: https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized
    
            For this, this method sends a custom challenge `APIKey`.
            """
            return HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      /**
       * Returns the RFC 7235 authorization challenges appropriate for this response's code. If the
       * response code is 401 unauthorized, this returns the "WWW-Authenticate" challenges. If the
       * response code is 407 proxy unauthorized, this returns the "Proxy-Authenticate" challenges.
       * Otherwise this returns an empty list of challenges.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth { #http-basic-auth }
    
    가장 단순한 경우에는 HTTP Basic Auth를 사용할 수 있습니다.
    
    HTTP Basic Auth에서는 애플리케이션이 사용자명과 비밀번호가 들어 있는 헤더를 기대합니다.
    
    이를 받지 못하면 HTTP 401 "Unauthorized" 오류를 반환합니다.
    
    그리고 값이 `Basic`이고 선택적으로 `realm` 파라미터를 포함하는 `WWW-Authenticate` 헤더를 반환합니다.
    
    이는 브라우저가 사용자명과 비밀번호를 입력하는 통합 프롬프트를 표시하도록 알려줍니다.
    
    그다음 사용자명과 비밀번호를 입력하면, 브라우저가 자동으로 해당 값을 헤더에 담아 전송합니다.
    
    ## 간단한 HTTP Basic Auth { #simple-http-basic-auth }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/security/http-basic-auth.md

    # HTTP 基础授权 { #http-basic-auth }
    
    最简单的用例是使用 HTTP 基础授权(HTTP Basic Auth)。
    
    在 HTTP 基础授权中,应用需要请求头包含用户名与密码。
    
    如果没有接收到 HTTP 基础授权,就返回 HTTP 401 `"Unauthorized"` 错误。
    
    并返回响应头 `WWW-Authenticate`,其值为 `Basic`,以及可选的 `realm` 参数。
    
    HTTP 基础授权让浏览器显示内置的用户名与密码提示。
    
    输入用户名与密码后,浏览器会把它们自动发送至请求头。
    
    ## 简单的 HTTP 基础授权 { #simple-http-basic-auth }
    
    * 导入 `HTTPBasic` 与 `HTTPBasicCredentials`
    * 使用 `HTTPBasic` 创建**安全方案**
    * 在*路径操作*的依赖项中使用 `security`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test creating multiple exceptions with different status codes
            WebApiException exception1 = new WebApiException(400, "Bad Request");
            WebApiException exception2 = new WebApiException(401, "Unauthorized");
            WebApiException exception3 = new WebApiException(500, "Internal Error");
    
            assertEquals(400, exception1.getStatusCode());
            assertEquals(401, exception2.getStatusCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    # HTTP 基本認證 { #http-basic-auth }
    
    在最簡單的情況下,你可以使用 HTTP Basic 認證。
    
    在 HTTP Basic 認證中,應用程式會期待一個包含使用者名稱與密碼的標頭。
    
    如果沒有接收到,會回傳 HTTP 401「Unauthorized」錯誤。
    
    並回傳一個 `WWW-Authenticate` 標頭,其值為 `Basic`,以及可選的 `realm` 參數。
    
    這會告訴瀏覽器顯示內建的使用者名稱與密碼提示視窗。
    
    接著,當你輸入該使用者名稱與密碼時,瀏覽器會自動在標頭中送出它們。
    
    ## 簡單的 HTTP 基本認證 { #simple-http-basic-auth }
    
    - 匯入 `HTTPBasic` 與 `HTTPBasicCredentials`。
    - 使用 `HTTPBasic` 建立一個「`security` scheme」。
    - 在你的*路徑操作*中以依賴的方式使用該 `security`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    You can try it already in the interactive docs:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            /** Bad request status indicating client error. */
            BAD_REQUEST(1),
            /** System error status indicating server error. */
            SYSTEM_ERROR(2),
            /** Unauthorized status indicating authentication failure. */
            UNAUTHORIZED(3),
            /** General failure status. */
            FAILED(9);
    
            private final int id;
    
            Status(final int id) {
                this.id = id;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/security/first-steps.md

    ///
    
    ## 무엇을 하는지 { #what-it-does }
    
    요청에서 `Authorization` 헤더를 찾아, 값이 `Bearer `에 어떤 token이 붙은 형태인지 확인한 뒤, 그 token을 `str`로 반환합니다.
    
    `Authorization` 헤더가 없거나, 값에 `Bearer ` token이 없다면, 곧바로 401 상태 코드 오류(`UNAUTHORIZED`)로 응답합니다.
    
    오류를 반환하기 위해 token이 존재하는지 직접 확인할 필요조차 없습니다. 함수가 실행되었다면 그 token에는 `str`이 들어 있다고 확신할 수 있습니다.
    
    대화형 문서에서 이미 시도해 볼 수 있습니다:
    
    <img src="/img/tutorial/security/image03.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  10. SECURITY.md

    mechanisms that prevent unwanted access to the data from other tenants.
    
    Network isolation between different models is also important not only to prevent
    unauthorized access to data or models, but also to prevent malicious users or
    tenants sending graphs to execute under another tenant’s identity.
    
    The isolation mechanisms are the responsibility of the users to design and
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top