start

abstract suspend fun start(sessionToken: String, redirectUrl: String, scope: List<String> = client.configuration.defaultScope, extraRequestParameters: Map<String, String> = emptyMap()): 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.

Return

Result.success with TokenInfo on success, or Result.failure on error.

Parameters

sessionToken

the session token obtained from Okta legacy Authn APIs.

redirectUrl

the redirect URL registered with the authorization server.

scope

the scopes to request. If omitted, the client's configured default scopes are used.

extraRequestParameters

additional key-value pairs appended to the authorization URL.