SessionTokenFlow
A Java-friendly wrapper around the Kotlin KotlinSessionTokenFlow.
This class exposes async methods returning CompletableFuture so Java consumers can use the Session Token flow without dealing with Kotlin coroutines.
Typical Java usage:
SessionTokenFlow flow = new SessionTokenFlow(kmpClient);
TokenInfo token = flow.start(sessionToken, redirectUrl).get();
flow.close();Content copied to clipboard
Must be closed when no longer needed to release coroutine resources.
Parameters
delegate
the underlying Kotlin KotlinSessionTokenFlow instance.
Constructors
Link copied to clipboard
Creates a SessionTokenFlow backed by the given KmpOAuth2Client.