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