start

suspend fun start(extraRequestParameters: Map<String, String> = emptyMap(), scope: String = oidcClient.configuration.defaultScope): OidcClientResult<DeviceAuthorizationFlow.Context>

Initiates a device authorization flow.

See DeviceAuthorizationFlow.resume for completing the flow.

Parameters

extraRequestParameters

the extra key value pairs to send to the device authorize endpoint. See Device Authorize Documentation for parameter options.

scope

the scopes to request during sign in. Defaults to the configured OidcClient.