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.
▸ deviceCodeGrantRequest(as
, client
, deviceCode
, options
?): Promise
<Response
>
Performs a Device Authorization Grant request at the
as.token_endpoint
.
Parameter | Type | Description |
---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
deviceCode |
string |
Device Code. |
options ? |
TokenEndpointRequestOptions |
- |