Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Langen (0.17 sec)

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

    ## 🥙 🤝 ⏮️ ↔
    
    🔜, 🔀 🤝 *➡ 🛠️* 📨 ↔ 📨.
    
    👥 ⚙️ 🎏 `OAuth2PasswordRequestForm`. ⚫️ 🔌 🏠 `scopes` ⏮️ `list` `str`, ⏮️ 🔠 ↔ ⚫️ 📨 📨.
    
    & 👥 📨 ↔ 🍕 🥙 🤝.
    
    !!! danger
        🦁, 📥 👥 ❎ ↔ 📨 🔗 🤝.
    
        ✋️ 👆 🈸, 💂‍♂, 👆 🔜 ⚒ 💭 👆 🕴 🚮 ↔ 👈 👩‍💻 🤙 💪 ✔️, ⚖️ 🕐 👆 ✔️ 🔁.
    
    ```Python hl_lines="155"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 📣 ↔ *➡ 🛠️* & 🔗
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    We are still using the same `OAuth2PasswordRequestForm`. It includes a property `scopes` with a `list` of `str`, with each scope it received in the request.
    
    And we return the scopes as part of the JWT token.
    
    !!! danger
        For simplicity, here we are just adding the scopes received directly to the token.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT 令牌作用域
    
    现在,修改令牌*路径操作*,返回请求的作用域。
    
    此处仍然使用 `OAuth2PasswordRequestForm`。它包含类型为**字符串列表**的 `scopes` 属性,且`scopes` 属性中包含要在请求里接收的每个作用域。
    
    这样,返回的 JWT 令牌中就包含了作用域。
    
    !!! danger "危险"
    
        为了简明起见,本例把接收的作用域直接添加到了令牌里。
    
        但在您的应用中,为了安全,应该只把作用域添加到确实需要作用域的用户,或预定义的用户。
    
    ```Python hl_lines="153"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 在*路径操作*与依赖项中声明作用域
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/oauth2-scopes.md

    Und wir geben die Scopes als Teil des JWT-Tokens zurück.
    
    !!! danger "Gefahr"
        Der Einfachheit halber fügen wir hier die empfangenen Scopes direkt zum Token hinzu.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top