start
fun start(idToken: String, deviceSecret: String, scope: List<String>, audience: String? = null): CompletableFuture<TokenInfo>
Initiates the token exchange flow asynchronously.
Return
a CompletableFuture that completes with TokenInfo on success, or completes exceptionally on failure.
Parameters
idToken
the ID token for the user.
deviceSecret
the device secret from a previous authentication flow.
scope
the scopes to request.
audience
optional audience; pass null to omit from the request.