Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for current_user (0.04 sec)

  1. docs/es/docs/tutorial/security/get-current-user.md

    Entonces ahora podemos usar el mismo `Depends` con nuestro `get_current_user` en la *path operation*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Ten en cuenta que declaramos el tipo de `current_user` como el modelo de Pydantic `User`.
    
    Esto nos ayudará dentro de la función con todo el autocompletado y chequeo de tipos.
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/security/simple-oauth2.md

    👉 🕳 👈 👆 ✔️ 👆 👆 📟, & ⚒ 💭 👆 ⚙️ 📚 🎻 🔑.
    
    ⚫️ 🌖 🕴 👜 👈 👆 ✔️ 💭 ☑ 👆, 🛠️ ⏮️ 🔧.
    
    🎂, **FastAPI** 🍵 ⚫️ 👆.
    
    ///
    
    ## ℹ 🔗
    
    🔜 👥 🔜 ℹ 👆 🔗.
    
    👥 💚 🤚 `current_user` *🕴* 🚥 👉 👩‍💻 🦁.
    
    , 👥 ✍ 🌖 🔗 `get_current_active_user` 👈 🔄 ⚙️ `get_current_user` 🔗.
    
    👯‍♂️ 👉 🔗 🔜 📨 🇺🇸🔍 ❌ 🚥 👩‍💻 🚫 🔀, ⚖️ 🚥 🔕.
    
    , 👆 🔗, 👥 🔜 🕴 🤚 👩‍💻 🚥 👩‍💻 🔀, ☑ 🔓, & 🦁:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/security/get-current-user.md

    Und jetzt können wir wiederum `Depends` mit unserem `get_current_user` in der *Pfadoperation* verwenden:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Beachten Sie, dass wir als Typ von `current_user` das Pydantic-Modell `User` deklarieren.
    
    Das wird uns innerhalb der Funktion bei Codevervollständigung und Typprüfungen helfen.
    
    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    So now we can use the same `Depends` with our `get_current_user` in the *path operation*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    /// tip
    
    You might remember that request bodies are also declared with Pydantic models.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/get-current-user.md

    Você pode se lembrar que corpos de requisição também são declarados com...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 13:33:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/security/simple-oauth2.md

    Все остальное за вас сделает **FastAPI**.
    ///
    
    ## Обновление зависимостей
    
    Теперь мы обновим наши зависимости.
    
    Мы хотим получить значение `current_user` *только* если этот пользователь активен.
    
    Поэтому мы создаем дополнительную зависимость `get_current_active_user`, которая, в свою очередь, использует в качестве зависимости `get_current_user`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:53:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/simple-oauth2.md

    Den Rest erledigt **FastAPI** für Sie.
    
    ///
    
    ## Die Abhängigkeiten aktualisieren
    
    Jetzt werden wir unsere Abhängigkeiten aktualisieren.
    
    Wir möchten den `current_user` *nur* erhalten, wenn dieser Benutzer aktiv ist.
    
    Daher erstellen wir eine zusätzliche Abhängigkeit `get_current_active_user`, die wiederum `get_current_user` als Abhängigkeit verwendet.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/security/simple-oauth2.md

    Para el resto, **FastAPI** lo maneja por ti.
    
    ///
    
    ## Actualizar las dependencias
    
    Ahora vamos a actualizar nuestras dependencias.
    
    Queremos obtener el `current_user` *solo* si este usuario está activo.
    
    Entonces, creamos una dependencia adicional `get_current_active_user` que a su vez utiliza `get_current_user` como dependencia.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    For the rest, **FastAPI** handles it for you.
    
    ///
    
    ## Update the dependencies { #update-the-dependencies }
    
    Now we are going to update our dependencies.
    
    We want to get the `current_user` *only* if this user is active.
    
    So, we create an additional dependency `get_current_active_user` that in turn uses `get_current_user` as a dependency.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/security/get-current-user.md

    ## 現在のユーザーの注入
    
    ですので、 `get_current_user` に対して同様に *path operation* の中で `Depends` を利用できます。
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。
    
    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    /// tip | 豆知識
    
    リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。
    
    ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。
    
    ///
    
    /// check | 確認
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top