start

fun start(scope: String = "openid profile email offline_access"): CompletableFuture<DeviceAuthorizationFlowContext>

Initiates the device authorization flow asynchronously.

Return

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

Parameters

scope

the scopes to request.