Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 157 for stopTs (0.05 seconds)

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

  1. docs/ru/docs/advanced/security/oauth2-scopes.md

    Для этого используем `security_scopes.scopes`, содержащий `list` со всеми этими scopes как `str`.
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## Дерево зависимостей и scopes { #dependency-tree-and-scopes }
    
    Ещё раз рассмотрим дерево зависимостей и scopes.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 20.6K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/security/oauth2-scopes.md

                                * *경로 처리* `read_own_items`의 경우 `security_scopes.scopes`에는 `["me", "items"]`가 들어갑니다.
                                * *경로 처리* `read_users_me`의 경우 `security_scopes.scopes`에는 `["me"]`가 들어갑니다. 이는 의존성 `get_current_active_user`에서 선언되기 때문입니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    你不一定需要 OAuth2 scopes,你可以用任何你想要的方式處理驗證與授權。
    
    但帶有 scopes 的 OAuth2 可以很漂亮地整合進你的 API(透過 OpenAPI)與 API 文件。
    
    無論如何,你仍然會在程式碼中,依你的需求,強制檢查那些 scopes,或其他任何安全性/授權需求。
    
    在許多情況下,帶有 scopes 的 OAuth2 可能有點大材小用。
    
    但如果你確定需要,或是好奇,請繼續閱讀。
    
    ///
    
    ## OAuth2 scopes 與 OpenAPI { #oauth2-scopes-and-openapi }
    
    OAuth2 規格將「scopes」定義為以空白分隔的一串字串列表。
    
    每個字串的內容可以有任意格式,但不應包含空白。
    
    這些 scopes 代表「權限」。
    
    在 OpenAPI(例如 API 文件)中,你可以定義「security schemes」。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

                                * 对于*路径操作* `read_own_items`,`security_scopes.scopes` 将包含 `["me", "items"]`。
                                * 对于*路径操作* `read_users_me`,`security_scopes.scopes` 将包含 `["me"]`,因为它在依赖 `get_current_active_user` 中被声明。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/security/oauth2-scopes.md

    ## Die `scopes` verifizieren { #verify-the-scopes }
    
    Wir überprüfen nun, ob das empfangene Token alle Scopes enthält, die von dieser Abhängigkeit und deren Verwendern (einschließlich *Pfadoperationen*) gefordert werden. Andernfalls lösen wir eine `HTTPException` aus.
    
    Hierzu verwenden wir `security_scopes.scopes`, das eine `list`e mit allen diesen Scopes als `str` enthält.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  6. docs/uk/docs/advanced/security/oauth2-scopes.md

    Для цього використовуємо `security_scopes.scopes`, що містить `list` із усіма цими scopes як `str`.
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## Дерево залежностей і scopes { #dependency-tree-and-scopes }
    
    Ще раз розгляньмо дерево залежностей і scopes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/security/oauth2-scopes.md

    /// tip | 豆知識
    
    重要で「魔法のよう」な点は、`get_current_user` が path operation ごとに異なる `scopes` のリストをチェックすることになる、ということです。
    
    それは、それぞれの path operation と、その path operation の依存関係ツリー内の各依存関係で宣言された `scopes` によって決まります。
    
    ///
    
    ## `SecurityScopes` の詳細 { #more-details-about-securityscopes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. docs/tr/docs/advanced/security/oauth2-scopes.md

                                * *Path operation* `read_system_status` için `security_scopes.scopes` `[]` (boş) olur; çünkü herhangi bir `Security` ile `scopes` tanımlamamıştır ve dependency'si olan `get_current_user` da `scopes` tanımlamaz.
    
    /// tip | İpucu
    
    Buradaki önemli ve "sihirli" nokta şu: `get_current_user`, her *path operation* için kontrol etmesi gereken farklı bir `scopes` listesi alır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/security/oauth2-scopes.md

    /// tip | Dica
    
    A coisa importante e "mágica" aqui é que `get_current_user` terá diferentes listas de `scopes` para validar para cada *operação de rota*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/security/first-steps.md

    # Sécurité - Premiers pas { #security-first-steps }
    
    Imaginons que vous ayez votre API de **backend** sur un certain domaine.
    
    Et vous avez un **frontend** sur un autre domaine ou dans un chemin différent du même domaine (ou dans une application mobile).
    
    Et vous voulez que le **frontend** puisse s'authentifier auprès du **backend**, en utilisant un **username** et un **password**.
    
    Nous pouvons utiliser **OAuth2** pour construire cela avec **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.3K bytes
    - Click Count (0)
Back to Top