deno.land / x / oauth4webapi@v1.2.2 / docs / functions / clientCredentialsGrantRequest.md

clientCredentialsGrantRequest.md

Function: clientCredentialsGrantRequest

💗 Help the project

â–¸ clientCredentialsGrantRequest(as, client, parameters, options?): Promise<Response>

Performs a Client Credentials Grant request at the as.token_endpoint.

see RFC 6749 - The OAuth 2.0 Authorization Framework

see draft-ietf-oauth-dpop-10 - OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP)

Parameters

Name Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
parameters URLSearchParams -
options? ClientCredentialsGrantRequestOptions -

Returns

Promise<Response>

oauth4webapi

Version Info

Tagged at
2 years ago