SessionTokenFlow
Deprecated
The Android-only SessionTokenFlow is deprecated in favor of the KMP variant, which works on Android and JVM. Use com.okta.oauth2.kmp.SessionTokenFlow instead. This class will be removed in a future major release.
SessionTokenFlow encapsulates the behavior required to authentication using a session token obtained from the Okta Legacy Authn APIs.
Constructors
Link copied to clipboard
constructor()
Initializes a session token flow.
Initializes a session token flow using the OidcConfiguration.
Functions
Link copied to clipboard
suspend fun start(sessionToken: String, redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: String = client.configuration.defaultScope): OAuth2ClientResult<Token>
suspend fun start(sessionToken: String, redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: List<String>): OAuth2ClientResult<Token>
Initiates the Session Token Flow.