Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for active (0.13 sec)

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

    In this case, we pass a dependency function `get_current_active_user` to `Security` (the same way we would do with `Depends`).
    
    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/security/oauth2-scopes.md

    ➡️ 📄 🔄 👉 🔗 🌲 & ↔.
    
    `get_current_active_user` 🔗 ✔️ 🎧-🔗 🔛 `get_current_user`, ↔ `"me"` 📣 `get_current_active_user` 🔜 🔌 📇 ✔ ↔ `security_scopes.scopes` 🚶‍♀️ `get_current_user`.
    
    *➡ 🛠️* ⚫️ 📣 ↔, `"items"`, 👉 🔜 📇 `security_scopes.scopes` 🚶‍♀️ `get_current_user`.
    
    📥 ❔ 🔗 🔗 & ↔ 👀 💖:
    
    *  *➡ 🛠️* `read_own_items` ✔️:
        * ✔ ↔ `["items"]` ⏮️ 🔗:
        * `get_current_active_user`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/security/oauth2-scopes.md

    ## 依赖项树与作用域
    
    再次查看这个依赖项树与作用域。
    
    `get_current_active_user` 依赖项包含子依赖项 `get_current_user`,并在 `get_current_active_user`中声明了作用域 `"me"` 包含所需作用域列表 ,在 `security_scopes.scopes` 中传递给 `get_current_user`。
    
    *路径操作*自身也声明了作用域,`"items"`,这也是 `security_scopes.scopes` 列表传递给 `get_current_user` 的。
    
    依赖项与作用域的层级架构如下:
    
    * *路径操作* `read_own_items` 包含:
        * 依赖项所需的作用域 `["items"]`:
        * `get_current_active_user`:
            *  依赖项函数 `get_current_active_user` 包含:
    Plain Text
    - Registered: Sun May 05 07:19:11 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

    In diesem Fall übergeben wir eine Abhängigkeitsfunktion `get_current_active_user` an `Security` (genauso wie wir es mit `Depends` tun würden).
    
    Wir übergeben aber auch eine `list`e von Scopes, in diesem Fall mit nur einem Scope: `items` (es könnten mehrere sein).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top