start

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.

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.

extraRequestParameters

additional key-value pairs appended to the authorization URL.

scope

the space-delimited scopes to request.