start

fun start(sessionToken: String, redirectUrl: String, scope: List<String>, extraRequestParameters: Map<String, String> = emptyMap()): CompletableFuture<TokenInfo>

Initiates the Session Token flow asynchronously.

Return

a CompletableFuture that completes with TokenInfo on success, or completes exceptionally on failure.

Parameters

sessionToken

the session token obtained from the Okta legacy Authn API.

redirectUrl

the redirect URL registered with the authorization server.

scope

the scopes to request.

extraRequestParameters

additional key-value pairs appended to the authorization URL.