OAuth2LoginFlowImpl

class OAuth2LoginFlowImpl(baseUrl: Url, applicationType: ApplicationType, clientUri: String, redirectUri: String, responseMode: ResponseMode = ResponseMode.Fragment, clientName: LocalizedField<String>? = null, logoUri: LocalizedField<String>? = null, policyUri: LocalizedField<String>? = null, tosUri: LocalizedField<String>? = null, promptValue: PromptValue? = null, initialState: OAuth2LoginFlow.AuthRequestData.State? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null) : OAuth2LoginFlow

Constructors

Link copied to clipboard
constructor(baseUrl: Url, applicationType: ApplicationType, clientUri: String, redirectUri: String, responseMode: ResponseMode = ResponseMode.Fragment, clientName: LocalizedField<String>? = null, logoUri: LocalizedField<String>? = null, policyUri: LocalizedField<String>? = null, tosUri: LocalizedField<String>? = null, promptValue: PromptValue? = null, initialState: OAuth2LoginFlow.AuthRequestData.State? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null)

Functions

Link copied to clipboard

Initiates the OAuth 2.0 authentication process. This method generates an authentication request containing a URL and associated metadata necessary when the app has been killed during the authentication process.

Link copied to clipboard
open suspend override fun onCallback(callbackUri: Url): Result<OAuth2MatrixClientAuthProviderData>

Handles the callback from the OAuth2 authorization server.