logoutOfBrowser

suspend fun logoutOfBrowser(    context: Context,     redirectUrl: String,     idToken: String): OidcClientResult<Unit>

Initiates the OIDC logout redirect flow.

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

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.