The device authorization parameters.
the client ID returned from client registration.
Optionallogger?: Loggeroptional logger to use for the request, defaults to the root logger of the js-sdk.
the validated OAuth2 metadata for the Identity Provider.
the scope to request for authorization.
a promise that resolves to a device access token response, or an error response if the user denies authorization or the device code expires.
Begin OAuth2 device authorization flow.