Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.98 KB

File metadata and controls

33 lines (21 loc) · 1.98 KB

Function: deviceCodeGrantRequest()

💗 Help the project

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, clientAuthentication, deviceCode, options?): Promise<Response>

Performs a Device Authorization Grant request at the as.token\_endpoint.

Parameters

Parameter Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
clientAuthentication ClientAuth Client Authentication Method.
deviceCode string Device Code. This is the device\_code retrieved from processDeviceAuthorizationResponse.
options? TokenEndpointRequestOptions -

Returns

Promise<Response>

Resolves with a Response to then invoke processDeviceCodeResponse with

See