SessionTokenFlow
interface SessionTokenFlow
Implements the Session Token authentication flow.
Exchanges a session token (obtained from the Okta legacy Authn API) for OAuth2 tokens by:
Building an authorization URL with the session token as an extra parameter.
Making a GET request to the authorization URL and capturing the redirect
Locationheader.Exchanging the authorization code in the redirect URI for tokens.
Functions
Link copied to clipboard
abstract suspend fun start(sessionToken: String, redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: String = "openid profile email offline_access"): ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for TokenInfo>
Initiates the session token flow and returns a TokenInfo on success.