logoutOfBrowser
suspend fun logoutOfBrowser( context: Context, redirectUrl: String, idToken: String): OidcClientResult<Unit>
Content copied to clipboard
Initiates the OIDC logout redirect flow.
Note: OIDC Logout terminology is nuanced, see Logout Documentation for additional details.
Content copied to clipboard
Parameters
context
the Android Activity which is used to display the logout flow via the configured WebAuthenticationProvider.
redirectUrl
the redirect URL.
idToken
the token used to identify the session to log the user out of.