The device authorization parameters.
The client ID returned from client registration.
The validated OIDC metadata for the Identity Provider.
The session returned from a previous call to startDeviceAuthorization.
a promise that resolves to a device access token response, or an error response if the user denies authorization or the device code expires.
Polls the OIDC token endpoint until we get a device access token response, or encounter an unrecoverable error.