Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for some (0.12 sec)

  1. 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)
  2. docs/en/docs/tutorial/security/first-steps.md

        * A "token" is just a string with some content that we can use later to verify this user.
        * Normally, a token is set to expire after some time.
            * So, the user will have to log in again at some point later.
            * And if the token is stolen, the risk is less. It is not like a permanent key that will work forever (in most of the cases).
    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)
  3. 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)
  4. 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)
  5. docs/pt/docs/tutorial/security/first-steps.md

    Em breve também criaremos o atual path operation.
    
    !!! info "informação"
    	Se você é um "Pythonista" muito rigoroso, você pode não gostar do estilo do nome do parâmetro `tokenUrl` em vez de `token_url`.
    
    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)
  6. 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)
  7. docs/de/docs/tutorial/security/first-steps.md

    Die Variable `oauth2_scheme` ist eine Instanz von `OAuth2PasswordBearer`, aber auch ein „Callable“.
    
    Es könnte wie folgt aufgerufen werden:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    Es kann also mit `Depends` verwendet werden.
    
    ### Verwendung
    
    Jetzt können Sie dieses `oauth2_scheme` als Abhängigkeit `Depends` übergeben.
    
    === "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)
  8. docs/en/docs/tutorial/first-steps.md

    <font color="#3465A4">INFO    </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font>
    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
    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)
Back to top