Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for Authorize (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. 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
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. 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í:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/security/first-steps.md

    Verás algo así:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | ¡Botón de autorización!
    
    Ya tienes un nuevo y brillante botón de "Authorize".
    
    Y tu *path operation* tiene un pequeño candado en la esquina superior derecha que puedes pulsar.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            final String authUrl;
    
            if (useV2Endpoint) {
                // v2.0 endpoint with MSAL4J (recommended)
                authUrl = getAuthority() + getTenant()
                        + "/oauth2/v2.0/authorize?response_type=code&scope=https://graph.microsoft.com/.default&response_mode=form_post&redirect_uri="
                        + URLEncoder.encode(getReplyUrl(request), Constants.UTF_8_CHARSET) + "&client_id=" + getClientId() + "&state=" + state
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  6. fastapi/applications.py

                    """
                    The OAuth2 redirect endpoint for the Swagger UI.
    
                    By default it is `/docs/oauth2-redirect`.
    
                    This is only used if you use OAuth2 (with the "Authorize" button)
                    with Swagger UI.
                    """
                ),
            ] = "/docs/oauth2-redirect",
            swagger_ui_init_oauth: Annotated[
                Optional[dict[str, Any]],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                if (status) {
                    return new ActionResponseCredential(() -> {
                        throw new RequestLoggingFilter.RequestClientErrorException("Your request is not authorized.", "401 Unauthorized",
                                HttpServletResponse.SC_UNAUTHORIZED);
                    });
                }
    
                // assert
                if (null == principal) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.8K bytes
    - Click Count (3)
  8. CHANGELOG/CHANGELOG-1.32.md

    object by patching themselves with an OwnerReference to a cluster-scoped resource. If the OwnerReference resource does not exist or is subsequently deleted, the given node object will be deleted via garbage collection. By default, node users are authorized for create and patch requests but not delete requests against their node object. Since the NodeRestriction admission controller does not prevent patching OwnerReferences, a compromised node could leverage this vulnerability to delete and then recreate...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 16 18:27:41 GMT 2025
    - 448.1K bytes
    - Click Count (0)
Back to Top