DirectAuthenticationFlowBuilder
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
The base URL of the Authorization Server.
The client ID of the application.
The OAuth 2.0 scopes the application is requesting.
Functions
Creates a DirectAuthenticationFlow instance with the configured parameters.
Sets the ACR values.
Sets additional query string parameters for all requests.
Sets the HTTP client executor used to make network requests.
Sets the authorization server ID.
Sets the provider for private_key_jwt (or similar JWT-based) client authentication.
Sets the client secret.
Sets the clock used for time-sensitive operations.
Sets the dispatcher used for CPU-bound work, such as invoking the ClientAssertionProvider set via setClientAssertionProvider.
Sets the authentication intent.
Sets the logger used by the SDK to output diagnostic information.
Sets the supported grant types.