RedirectEndSessionFlow

RedirectEndSessionFlow encapsulates the behavior required to log out using an OIDC browser redirect flow.

Call start to build the logout URL, then open it in a browser. Once the user is redirected back to your app, call resume with the redirect URI to complete the flow.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Thrown from resume when the logout redirect cannot be completed successfully.

Functions

Link copied to clipboard
abstract fun resume(uri: String, flowContext: RedirectEndSessionFlowContext): ERROR CLASS: Symbol not found for Result<kotlin/Unit>

Resumes the redirect end-session flow after the browser redirect.

Link copied to clipboard

Resumes the Redirect End Session flow using an Android android.net.Uri.

Link copied to clipboard
abstract suspend fun start(idToken: String, redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap()): ERROR CLASS: Symbol not found for Result<com/okta/oauth2/kmp/RedirectEndSessionFlowContext>

Initiates the redirect end-session flow.