endSession

abstract suspend fun endSession(oidcConfig: OidcConfig<T>, idToken: String): Boolean

End the session with the OpenID Connect provider. Best effort is made to end the session.

Return

A boolean indicating whether the session was successfully ended.

Parameters

oidcConfig

The configuration for the OpenID Connect client.

idToken

The ID token used to end the session.