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.
▸ clientCredentialsGrantRequest(as
, client
, clientAuthentication
, parameters
, options
?): Promise
<Response
>
Performs a Client Credentials Grant request at the
as.token_endpoint
.
Parameter | Type | Description |
---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
clientAuthentication |
ClientAuth |
Client Authentication Method. |
parameters |
Record <string , string > | URLSearchParams | string [][] |
- |
options ? |
ClientCredentialsGrantRequestOptions |
- |