AuthorizationCodeFlow
Deprecated
The Android-only AuthorizationCodeFlow is deprecated in favor of the KMP variant, which works on Android and JVM. Use com.okta.oauth2.kmp.AuthorizationCodeFlow instead, or the higher-level com.okta.webauthenticationui.WebAuthentication which is already KMP-backed. This class will be removed in a future major release.
AuthorizationCodeFlow encapsulates the behavior required to authentication using an OIDC Browser redirect flow.
Constructors
Initializes an authorization code flow.
Initializes an authorization code flow using the OidcConfiguration.
Types
Used in a OAuth2ClientResult.Error.exception from resume.
Used in a OAuth2ClientResult.Error.exception from resume.
Used in a OAuth2ClientResult.Error.exception from resume.
Functions
Resumes the OIDC Authorization Code redirect flow. This method takes the returned redirect Uri, and communicates with the Authorization Server to exchange that for a token.
Initiates the OIDC Authorization Code redirect flow.