InteractionCodeFlow

The InteractionCodeFlow class is used to define and initiate an authentication workflow utilizing the Okta Identity Engine.

Constructors

Link copied to clipboard
constructor()

Initializes a new InteractionCodeFlow.

constructor(oidcConfiguration: OidcConfiguration)

Initializes a new InteractionCodeFlow.

constructor(client: OAuth2Client)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Evaluates the given redirect url to determine what next steps can be performed. This is usually used when receiving a redirection from an IDP authentication flow.

Link copied to clipboard

Exchange the IdxRemediation.Type.ISSUE remediation type for tokens.

Link copied to clipboard

Executes the remediation option and proceeds through the workflow using the supplied form parameters.

Link copied to clipboard

Resumes the authentication state to identify the available remediation steps.

Link copied to clipboard
suspend fun start(redirectUri: Uri, extraStartRequestParameters: Map<String, String> = emptyMap()): OAuth2ClientResult<Unit>

Starts the authentication session. Returns an empty OAuth2ClientResult.Success on success, and a OAuth2ClientResult.Error with the corresponding exception on failure.