- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for read_own_items (0.13 sec)
-
docs/em/docs/advanced/security/oauth2-scopes.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 11:02:16 UTC 2024 - 13.1K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
So sieht die Hierarchie der Abhängigkeiten und Scopes aus: * Die *Pfadoperation* `read_own_items` hat: * Erforderliche Scopes `["items"]` mit der Abhängigkeit: * `get_current_active_user`: * Die Abhängigkeitsfunktion `get_current_active_user` hat:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 22.5K bytes - Viewed (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
Aqui está como a hierarquia de dependências e escopos parecem: * A *operação de rota* `read_own_items` possui: * Escopos necessários `["items"]` com a dependência: * `get_current_active_user`: * A função de dependência `get_current_active_user` possui:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21.7K bytes - Viewed (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
fastapi/param_functions.py
from fastapi import Security, FastAPI from .db import User from .security import get_current_active_user app = FastAPI() @app.get("/users/me/items/") async def read_own_items( current_user: Annotated[User, Security(get_current_active_user, scopes=["items"])] ): return [{"item_id": "Foo", "owner": current_user.username}] ``` """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 62.5K bytes - Viewed (0)