Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 227 for OAuth2 (0.05 seconds)

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

    ## The `password` flow { #the-password-flow }
    
    Now let's go back a bit and understand what is all that.
    
    The `password` "flow" is one of the ways ("flows") defined in OAuth2, to handle security and authentication.
    
    OAuth2 was designed so that the backend or API could be independent of the server that authenticates the user.
    
    But in this case, the same **FastAPI** application will handle the API and the authentication.
    
    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)
  2. docs/zh-hant/docs/tutorial/security/first-steps.md

    這當然不是給最終使用者用的前端,但它是用來互動式文件化整個 API 的極佳自動化工具。
    
    前端團隊(也可能就是你)可以使用它。
    
    第三方應用或系統也能使用它。
    
    你也能用它來除錯、檢查與測試同一個應用。
    
    ## `password` 流程 { #the-password-flow }
    
    現在回頭理解剛剛那些是什麼。
    
    在 OAuth2 中,`password` 是處理安全與身分驗證的其中一種「流程」(flow)。
    
    OAuth2 的設計讓後端或 API 可以獨立於執行使用者驗證的伺服器。
    
    但在這個例子中,同一個 FastAPI 應用會同時處理 API 與驗證。
    
    簡化來看流程如下:
    
    - 使用者在前端輸入 `username` 與 `password`,按下 `Enter`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/first-steps.md

    这当然不是面向最终用户的前端,但它是一个很棒的自动化工具,可交互式地为整个 API 提供文档。
    
    前端团队(也可能就是你自己)可以使用它。
    
    第三方应用和系统也可以使用它。
    
    你也可以用它来调试、检查和测试同一个应用。
    
    ## `password` 流 { #the-password-flow }
    
    现在回过头来理解这些内容。
    
    `password` “流”(flow)是 OAuth2 定义的处理安全与身份验证的一种方式。
    
    OAuth2 的设计目标是让后端或 API 与负责用户认证的服务器解耦。
    
    但在这个例子中,**FastAPI** 应用同时处理 API 和认证。
    
    从这个简化的角度来看看流程:
    
    * 用户在前端输入 `username` 和 `password`,然后按下 `Enter`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

    /// tip
    
    The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
    If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/security/first-steps.md

    **FastAPI**는 이런 보안 기능을 구현하기 위해, 서로 다른 추상화 수준에서 여러 도구를 제공합니다.
    
    이 예제에서는 **OAuth2**의 **Password** 플로우와 **Bearer** token을 사용합니다. 이를 위해 `OAuth2PasswordBearer` 클래스를 사용합니다.
    
    /// info | 정보
    
    "bearer" token만이 유일한 선택지는 아닙니다.
    
    하지만 이 사용 사례에는 가장 적합한 선택입니다.
    
    또한 OAuth2 전문가로서 왜 다른 옵션이 더 적합한지 정확히 아는 경우가 아니라면, 대부분의 사용 사례에도 가장 적합할 가능성이 큽니다.
    
    그런 경우를 위해서도 **FastAPI**는 이를 구성할 수 있는 도구를 제공합니다.
    
    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)
  6. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    ReDoc 也類似...
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[2:6,11:19,22:24,27:33] *}
    
    /// tip
    
    當你使用 OAuth2 時,`swagger_ui_redirect` 的路徑操作是個輔助端點。
    
    如果你把 API 與 OAuth2 提供者整合,便能完成認證並帶著取得的憑證回到 API 文件,接著以真正的 OAuth2 驗證與之互動。
    
    Swagger UI 會在背後幫你處理,不過它需要這個「redirect」輔助端點。
    
    ///
    
    ### 建立路徑操作以進行測試 { #create-a-path-operation-to-test-it }
    
    現在,為了測試一切是否正常,建立一個路徑操作:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. docs/sts/wso2.md

    ```
    
    Example:
    
    ```
    curl -u PoEgXP6uVO45IsENRngDXj5Au5Ya:eKsw6z8CtOJVBtrOWvhRWL4TUCga -k -d "grant_type=client_credentials" -H "Content-Type:application/x-www-form-urlencoded" https://localhost:9443/oauth2/token
    ```
    
    In response, the self-contained JWT id_token will be returned as shown below.
    
    ```
    {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. docs/zh/docs/how-to/custom-docs-ui-assets.md

    ReDoc 也类似...
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[2:6,11:19,22:24,27:33] *}
    
    /// tip | 提示
    
    `swagger_ui_redirect` 的*路径操作*是在你使用 OAuth2 时的一个辅助。
    
    如果你把 API 与某个 OAuth2 提供方集成,你就可以完成认证并带着获取到的凭据回到 API 文档里。然后使用真实的 OAuth2 认证与之交互。
    
    Swagger UI 会在幕后为你处理这些,但它需要这个“重定向”辅助路径。
    
    ///
    
    ### 创建一个路径操作进行测试 { #create-a-path-operation-to-test-it }
    
    现在,为了测试一切是否正常,创建一个*路径操作*:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. docs/ja/docs/how-to/custom-docs-ui-assets.md

    ReDoc についても同様です...
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[2:6,11:19,22:24,27:33] *}
    
    /// tip | 豆知識
    
    `swagger_ui_redirect` 用の *path operation* は、OAuth2 を使用する場合の補助です。
    
    API を OAuth2 プロバイダと統合すると、認証を実行して取得したクレデンシャルを持った状態で API ドキュメントに戻れます。そして実際の OAuth2 認証を用いてドキュメント上から API と対話できます。
    
    Swagger UI がこの処理を裏側で行いますが、そのためにこの「redirect」の補助が必要です。
    
    ///
    
    ### テスト用の *path operation* を作成 { #create-a-path-operation-to-test-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. docs/es/llm-prompt.md

    * media type: media type (do not translate to "tipo de medio")
    * instantiate: crear un instance (do not translate to "instanciar")
    * OAuth2 Scopes: Scopes de OAuth2 (do not translate to "Alcances de OAuth2")
    * on the fly: sobre la marcha (do not translate to "al vuelo")
    * terminal: terminal (femenine, as in "la terminal")
    * terminals: terminales (plural femenine, as in "las terminales")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top