Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
▸ deviceAuthorizationRequest(as, client, clientAuthentication, parameters, options?): Promise<Response>
Performs a Device Authorization Request at the
as.device\_authorization\_endpoint.
| Parameter | Type | Description |
|---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
clientAuthentication |
ClientAuth |
Client Authentication Method. |
parameters |
Record<string, string> | URLSearchParams | string[][] |
Device Authorization Request parameters. |
options? |
DeviceAuthorizationRequestOptions |
- |
Resolves with a Response to then invoke processDeviceAuthorizationResponse with