- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Parameters (0.22 sec)
-
docs/en/docs/tutorial/security/first-steps.md
In that case, **FastAPI** also provides you with the tools to build it. When we create an instance of the `OAuth2PasswordBearer` class we pass in the `tokenUrl` parameter. This parameter contains the URL that the client (the frontend running in the user's browser) will use to send the `username` and `password` in order to get a token. === "Python 3.9+" ```Python hl_lines="8"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/em/docs/tutorial/security/first-steps.md
👈 ↩️ ⚫️ ⚙️ 🎏 📛 🗄 🔌. 👈 🚥 👆 💪 🔬 🌅 🔃 🙆 👫 💂♂ ⚖ 👆 💪 📁 & 📋 ⚫️ 🔎 🌖 ℹ 🔃 ⚫️. `oauth2_scheme` 🔢 👐 `OAuth2PasswordBearer`, ✋️ ⚫️ "🇧🇲". ⚫️ 💪 🤙: ```Python oauth2_scheme(some, parameters) ``` , ⚫️ 💪 ⚙️ ⏮️ `Depends`. ### ⚙️ ⚫️ 🔜 👆 💪 🚶♀️ 👈 `oauth2_scheme` 🔗 ⏮️ `Depends`. ```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 6.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
変数`oauth2_scheme`は`OAuth2PasswordBearer`のインスタンスですが、「呼び出し可能」です。 次のように、呼ぶことができます: ```Python oauth2_scheme(some, parameters) ``` そのため、`Depends`と一緒に使うことができます。 ### 使い方 これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。 ```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/first-steps.md
Переменная `oauth2_scheme` является экземпляром `OAuth2PasswordBearer`, но она также является "вызываемой". Ее можно вызвать следующим образом: ```Python oauth2_scheme(some, parameters) ``` Поэтому ее можно использовать вместе с `Depends`. ### Использование Теперь вы можете передать ваш `oauth2_scheme` в зависимость с помощью `Depends`. === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
这种命名方式是因为要使用与 OpenAPI 规范中相同的名字。以便在深入校验安全方案时,能通过复制粘贴查找更多相关信息。 `oauth2_scheme` 变量是 `OAuth2PasswordBearer` 的实例,也是**可调用项**。 以如下方式调用: ```Python oauth2_scheme(some, parameters) ``` 因此,`Depends` 可以调用 `oauth2_scheme` 变量。 ### 使用 接下来,使用 `Depends` 把 `oauth2_scheme` 传入依赖项。 ```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 7.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
A variável `oauth2_scheme` é um instância de `OAuth2PasswordBearer`, mas também é um "callable". Pode ser chamada de: ```Python oauth2_scheme(some, parameters) ``` Então, pode ser usado com `Depends`. ## Use-o Agora você pode passar aquele `oauth2_scheme` em uma dependência com `Depends`. ```Python hl_lines="10"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
In dem Fall gibt Ihnen **FastAPI** ebenfalls die Tools, die Sie zum Erstellen brauchen. Wenn wir eine Instanz der Klasse `OAuth2PasswordBearer` erstellen, übergeben wir den Parameter `tokenUrl`. Dieser Parameter enthält die URL, die der Client (das Frontend, das im Browser des Benutzers ausgeführt wird) verwendet, wenn er den `username` und das `password` sendet, um einen Token zu erhalten. === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:08 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0)