InteractionCodeFlow

class InteractionCodeFlow

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun evaluateRedirectUri(uri: Uri): IdxRedirectResult

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
suspend fun exchangeInteractionCodeForTokens(remediation: IdxRemediation): OidcClientResult<Token>

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

Link copied to clipboard
suspend fun proceed(remediation: IdxRemediation): OidcClientResult<IdxResponse>

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

Link copied to clipboard
suspend fun resume(): OidcClientResult<IdxResponse>

Resumes the authentication state to identify the available remediation steps.

Properties

Link copied to clipboard
val flowContext: InteractionCodeFlowContext