DirectAuthenticationFlowBuilder

Configures a DirectAuthenticationFlow.

Rather than instantiating this builder directly, call create and configure the instance inside the trailing lambda, e.g. DirectAuthenticationFlowBuilder.create(issuerUrl, clientId, scope) { clientSecret = "..." }.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var acrValues: ERROR CLASS: Unresolved name: listOf

A list of Authentication Context Class Reference values.

Link copied to clipboard

Any additional query string parameters you would like to supply to the authorization server for all requests from this flow.

Link copied to clipboard
var apiExecutor: ERROR CLASS: Symbol not found for ApiExecutor

The HTTP client executor used to make network requests.

Link copied to clipboard

The ID of the authorization server to use for the authentication flow.

Link copied to clipboard
var clientAssertionProvider: ERROR CLASS: Symbol not found for ClientAssertionProvider??

Optional provider for private_key_jwt (or similar JWT-based) client authentication.

Link copied to clipboard

The client secret of the application.

Link copied to clipboard
var clock: ERROR CLASS: Symbol not found for OidcClock

The clock used for time-sensitive operations.

Link copied to clipboard
var computeDispatcher: ERROR CLASS: Symbol not found for CoroutineContext

The dispatcher used for CPU-bound work, such as invoking clientAssertionProvider.

Link copied to clipboard

The intended user action for the authentication flow.

Link copied to clipboard
var logger: ERROR CLASS: Symbol not found for AuthFoundationLogger

The logger used by the SDK to output diagnostic information.

Link copied to clipboard
var supportedGrantType: ERROR CLASS: Unresolved name: listOf

The list of grant types the client application supports for the Direct Authentication flow.