AuthorizationCodeFlow
interface AuthorizationCodeFlow
Encapsulates the behavior required to authenticate using the OIDC Authorization Code flow with PKCE.
Types
Link copied to clipboard
Thrown by resume when no authorization code is present in the redirect URI.
Link copied to clipboard
Thrown by resume when the redirect URI scheme does not match the configured redirect URL.
Link copied to clipboard
Thrown by resume when the authorization server returns an error.
Functions
Link copied to clipboard
abstract suspend fun resume(uri: String, flowContext: AuthorizationCodeFlowContext): ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for TokenInfo>
Completes the Authorization Code redirect flow by exchanging the authorization code for tokens.
Link copied to clipboard
suspend fun AuthorizationCodeFlow.resume(uri: Uri, flowContext: AuthorizationCodeFlowContext): Result<TokenInfo>
Resumes the Authorization Code flow using an Android android.net.Uri.
Link copied to clipboard