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.

Properties

Link copied to clipboard

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

Link copied to clipboard
abstract val 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.