Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for authorize (0.04 sec)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="api/oauth/authorize",
        tokenUrl="/api/oauth/token",
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    You will see something like this:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorize button!
    
    You already have a shiny new "Authorize" button.
    
    And your *path operation* has a little lock in the top-right corner that you can click.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/first-steps.md

    Sie werden etwa Folgendes sehen:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorize-Button!
    
    Sie haben bereits einen glänzenden, neuen „Authorize“-Button.
    
    Und Ihre *Pfadoperation* hat in der oberen rechten Ecke ein kleines Schloss, auf das Sie klicken können.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    You'll see the user interface like:
    
    <img src="/img/tutorial/security/image07.png">
    
    Authorize the application the same way as before.
    
    Using the credentials:
    
    Username: `johndoe`
    Password: `secret`
    
    /// check
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/simple-oauth2.md

    Öffnen Sie die interaktive Dokumentation: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ### Authentifizieren { #authenticate }
    
    Klicken Sie auf den Button „Authorize“.
    
    Verwenden Sie die Anmeldedaten:
    
    Benutzer: `johndoe`
    
    Passwort: `secret`.
    
    <img src="/img/tutorial/security/image04.png">
    
    Nach der Authentifizierung im System sehen Sie Folgendes:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    Open the interactive docs: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ### Authenticate { #authenticate }
    
    Click the "Authorize" button.
    
    Use the credentials:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    After authenticating in the system, you will see it like:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/security/simple-oauth2.md

    Abre la documentación interactiva: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ### Autenticar { #authenticate }
    
    Haz clic en el botón "Authorize".
    
    Usa las credenciales:
    
    Usuario: `johndoe`
    
    Contraseña: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    Después de autenticarte en el sistema, lo verás así:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}
    
    Because we are now declaring those scopes, they will show up in the API docs when you log-in/authorize.
    
    And you will be able to select which scopes you want to give access to: `me` and `items`.
    
    This is the same mechanism used when you give permissions while logging in with Facebook, Google, GitHub, etc:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/security/first-steps.md

    Вы увидите примерно следующее:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Кнопка авторизации!
    
    У вас уже появилась новая кнопка «Authorize».
    
    А у вашей *операции пути* в правом верхнем углу есть маленький замочек, на который можно нажать.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top