WebAuthenticationProvider

Used to launch the OIDC redirect flow associated with a WebAuthentication.

Most integrators should use DefaultWebAuthenticationProvider; implement this only to fully control how the authorize URL is presented. Only launch is abstract; launchCustomTab has a default implementation built on it, so implementations only need to provide launch.

Inheritors

Functions

Link copied to clipboard
abstract fun launch(context: Context, url: HttpUrl): Exception?

Launches the OIDC redirect flow associated with a WebAuthentication.

Link copied to clipboard
open fun launchCustomTab(context: Context, url: HttpUrl): Result<Unit>

Launches the OIDC redirect flow associated with a WebAuthentication and wraps launch success/failure in a Result.