WebAuthentication
constructor(webAuthenticationProvider: WebAuthenticationProvider = DefaultWebAuthenticationProvider(OidcConfiguration.default.eventCoordinator))
Initializes a web authentication client.
Parameters
webAuthenticationProvider
the WebAuthenticationProvider which will be used to show the UI when performing the redirect flows.
constructor(oidcConfiguration: OidcConfiguration, webAuthenticationProvider: WebAuthenticationProvider = DefaultWebAuthenticationProvider(oidcConfiguration.eventCoordinator))
Initializes a web authentication client.
Parameters
oidcConfiguration
the OidcConfiguration specifying the authorization servers.
webAuthenticationProvider
the WebAuthenticationProvider which will be used to show the UI when performing the redirect flows.
constructor(client: OAuth2Client, webAuthenticationProvider: WebAuthenticationProvider = DefaultWebAuthenticationProvider(client.configuration.eventCoordinator))