- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for 115 (0.13 sec)
-
docs/en/docs/advanced/security/oauth2-scopes.md
=== "Python 3.10+" ```Python hl_lines="105 107-115" {!> ../../../docs_src/security/tutorial005_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="105 107-115" {!> ../../../docs_src/security/tutorial005_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="106 108-116"
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) -
docs/em/docs/advanced/security/oauth2-scopes.md
👥 ✍ `HTTPException` 👈 👥 💪 🏤-⚙️ (`raise`) ⏪ 📚 ☝. 👉 ⚠, 👥 🔌 ↔ 🚚 (🚥 🙆) 🎻 👽 🚀 (⚙️ `scope_str`). 👥 🚮 👈 🎻 ⚗ ↔ `WWW-Authenticate` 🎚 (👉 🍕 🔌). ```Python hl_lines="105 107-115" {!../../../docs_src/security/tutorial005.py!} ``` ## ✔ `username` & 💽 💠 👥 ✔ 👈 👥 🤚 `username`, & ⚗ ↔.
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) -
docs/de/docs/advanced/security/oauth2-scopes.md
=== "Python 3.10+" ```Python hl_lines="105 107-115" {!> ../../../docs_src/security/tutorial005_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="105 107-115" {!> ../../../docs_src/security/tutorial005_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="106 108-116"
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) -
docs/zh/docs/advanced/security/oauth2-scopes.md
此处还创建了后续代码中要复用(`raise`)的 `HTTPException` 。 该异常包含了作用域所需的(如有),以空格分割的字符串(使用 `scope_str`)。该字符串要放到包含作用域的 `WWW-Authenticate` 请求头中(这也是规范的要求)。 ```Python hl_lines="105 107-115" {!../../../docs_src/security/tutorial005.py!} ``` ## 校验 `username` 与数据形状 我们可以校验是否获取了 `username`,并抽取作用域。
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)