Theia API Documentation v1.66.0
    Preparing search index...

    Interface AuthenticationWwwAuthenticateRequest

    Represents parameters for creating a session based on a WWW-Authenticate header value. This is used when an API returns a 401 with a WWW-Authenticate header indicating that additional authentication is required. The details of which will be passed down to the authentication provider to create a session.

    The authorization provider must support handling challenges and specifically the challenges in this WWW-Authenticate value.

    For more information on WWW-Authenticate please see https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/WWW-Authenticate

    interface AuthenticationWwwAuthenticateRequest {
        fallbackScopes?: readonly string[];
        wwwAuthenticate: string;
    }
    Index

    Properties

    fallbackScopes?: readonly string[]

    The fallback scopes to use if no scopes are found in the WWW-Authenticate header.

    wwwAuthenticate: string

    The raw WWW-Authenticate header value that triggered this challenge. This will be parsed by the authentication provider to extract the necessary challenge information.