WebAuthenticationClient
Authentication coordinator that simplifies signing users in using browser-based OIDC authentication flows.
This simple class encapsulates the details of launching the browser, and coordinating with OAuth2 endpoints.
To customize the flow, please read more about customization options: WebAuthenticationProvider, CustomizeBrowserEvent, CustomizeCustomTabsEvent. To further customize the authentication flow, please read more about the underlying flows: AuthorizationCodeFlow, RedirectEndSessionFlow.
Types
Functions
Link copied to clipboard
Link copied to clipboard
suspend fun logoutOfBrowser( context: Context, redirectUrl: String, idToken: String): OidcClientResult<Unit>
Content copied to clipboard
Initiates the OIDC logout redirect flow.