OAuth2LoginFlow

interface OAuth2LoginFlow

Represents the flow for handling OAuth 2.0 login operations. This interface provides methods to facilitate the redirection and callback required during the OAuth 2.0 authorization process.

Inheritors

Types

Link copied to clipboard

Represents the data required for initiating an OAuth 2.0 authentication process. It includes the URL for the authentication request and serializable state information to continue authentication after the app has been killed.

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
abstract suspend fun onCallback(callbackUri: Url): Result<OAuth2MatrixClientAuthProviderData>

Handles the callback from the OAuth2 authorization server.