Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 161 for authorized (0.06 seconds)

  1. docs/zh/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 实际效果 { #see-it-in-action }
    
    打开交互式文档:[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    ### 身份验证 { #authenticate }
    
    点击“Authorize”按钮。
    
    使用以下凭证:
    
    用户名:`johndoe`
    
    密码:`secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    通过身份验证后,显示下图所示的内容:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### 获取当前用户数据 { #get-your-own-user-data }
    
    使用 `/users/me` 路径的 `GET` 操作。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. docs/es/docs/how-to/authentication-error-status-code.md

    A partir de FastAPI versión `0.122.0`, usan el código de estado HTTP `401 Unauthorized`, más apropiado, y devuelven un `WWW-Authenticate` header adecuado en la response, siguiendo las especificaciones HTTP, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  3. docs/tr/docs/how-to/authentication-error-status-code.md

    FastAPI `0.122.0` sürümünden itibaren ise daha uygun olan HTTP durum kodu `401 Unauthorized` kullanılmakta ve HTTP spesifikasyonlarına uygun olarak response içinde anlamlı bir `WWW-Authenticate` header'ı döndürülmektedir, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/authentication-error-status-code.md

    Starting with FastAPI version `0.122.0`, they use the more appropriate HTTP status code `401 Unauthorized`, and return a sensible `WWW-Authenticate` header in the response, following the HTTP specifications, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  5. docs/pt/docs/how-to/authentication-error-status-code.md

    A partir da versão `0.122.0` do FastAPI, eles usam o código de status HTTP `401 Unauthorized`, mais apropriado, e retornam um cabeçalho `WWW-Authenticate` adequado na response, seguindo as especificações HTTP, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  6. docs/ja/docs/how-to/authentication-error-status-code.md

    FastAPI バージョン `0.122.0` 以降では、より適切な HTTP ステータスコード `401 Unauthorized` を使用し、HTTP 仕様に従ってレスポンスに妥当な `WWW-Authenticate` ヘッダーを含めます。[RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)。
    
    しかし、何らかの理由でクライアントが従来の挙動に依存している場合は、セキュリティクラスでメソッド `make_not_authenticated_error` をオーバーライドすることで、その挙動に戻せます。
    
    たとえば、既定の `401 Unauthorized` エラーの代わりに `403 Forbidden` エラーを返す `HTTPBearer` のサブクラスを作成できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/how-to/authentication-error-status-code.md

    從 FastAPI 版本 `0.122.0` 起,改為使用更合適的 HTTP 狀態碼 `401 Unauthorized`,並在回應中依據 HTTP 規範加上合理的 `WWW-Authenticate` 標頭,參考 [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1)、[RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)。
    
    但如果你的用戶端因某些原因依賴於舊行為,你可以在你的 security 類別中覆寫 `make_not_authenticated_error` 方法以恢復舊的行為。
    
    例如,你可以建立 `HTTPBearer` 的子類別,讓它回傳 `403 Forbidden` 錯誤,而不是預設的 `401 Unauthorized` 錯誤:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/security/first-steps.md

    </div>
    
    ## 確認 { #check-it }
    
    次のインタラクティブなドキュメントにアクセスしてください: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    下記のように見えるでしょう:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorizeボタン!
    
    すでにピカピカの新しい「Authorize」ボタンがあります。
    
    そして、あなたの*path operation*には、右上にクリックできる小さな鍵アイコンがあります。
    
    ///
    
    それをクリックすると、`username` と `password`(およびその他のオプションフィールド)を入力する小さな認可フォームが表示されます:
    
    <img src="/img/tutorial/security/image02.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/security/simple-oauth2.md

    그것이 표준의 이점입니다 ...
    
    ///
    
    ## 확인하기 { #see-it-in-action }
    
    대화형 문서 열기: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    ### 인증하기 { #authenticate }
    
    "Authorize" 버튼을 눌러봅시다.
    
    자격 증명을 사용합니다.
    
    유저명: `johndoe`
    
    패스워드: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    시스템에서 인증하면 다음과 같이 표시됩니다:
    
    <img src="/img/tutorial/security/image05.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## Voir en action { #see-it-in-action }
    
    Ouvrez la documentation interactive : [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    ### S'authentifier { #authenticate }
    
    Cliquez sur le bouton « Authorize ».
    
    Utilisez les identifiants :
    
    Utilisateur : `johndoe`
    
    Mot de passe : `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    Après vous être authentifié dans le système, vous verrez ceci :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top