RedirectEndSessionFlow

class RedirectEndSessionFlow

RedirectEndSessionFlow encapsulates the behavior required to logout using an OIDC Browser redirect flow.

Note: OIDC Logout terminology is nuanced, see Logout Documentation for additional details.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Context

A model representing the context and current state for a logout flow.

Link copied to clipboard
class RedirectSchemeMismatchException : Exception
Link copied to clipboard
class ResumeException : Exception

Functions

Link copied to clipboard
fun resume(uri: Uri, flowContext: RedirectEndSessionFlow.Context): OidcClientResult<Unit>

Resumes the logout redirect flow.

Link copied to clipboard
suspend fun start(redirectUrl: String, idToken: String): OidcClientResult<RedirectEndSessionFlow.Context>

Initiates the logout redirect flow.