DirectAuthenticationFlowBuilder

class DirectAuthenticationFlowBuilder(issuerUrl: String, clientId: String, scope: List<String>)

A Java-idiomatic builder for creating instances of DirectAuthenticationFlow.

This builder provides method-chaining setters for optional parameters and delegates to the Kotlin KotlinBuilder for the actual construction.

Kotlin callers should use com.okta.directauth.DirectAuthenticationFlowBuilder instead.

Parameters

issuerUrl

The base URL of the Authorization Server.

clientId

The client ID of the application.

scope

The OAuth 2.0 scopes the application is requesting.

Constructors

Link copied to clipboard
constructor(issuerUrl: String, clientId: String, scope: List<String>)

Functions

Link copied to clipboard

Creates a DirectAuthenticationFlow instance with the configured parameters.

Link copied to clipboard

Sets the ACR values.

Link copied to clipboard

Sets additional query string parameters for all requests.

Link copied to clipboard

Sets the HTTP client executor used to make network requests.

Link copied to clipboard

Sets the authorization server ID.

Link copied to clipboard

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

Link copied to clipboard

Sets the client secret.

Link copied to clipboard

Sets the clock used for time-sensitive operations.

Link copied to clipboard

Sets the dispatcher used for CPU-bound work, such as invoking the ClientAssertionProvider set via setClientAssertionProvider.

Link copied to clipboard

Sets the authentication intent.

Link copied to clipboard

Sets the logger used by the SDK to output diagnostic information.

Link copied to clipboard

Sets the supported grant types.