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

issueRequestObject.md

Function: issueRequestObject

💗 Help the project

â–¸ issueRequestObject(as, client, parameters, privateKey): Promise<string>

Generates a signed JWT-Secured Authorization Request (JAR).

see RFC 9101 - The OAuth 2.0 Authorization Framework: JWT-Secured Authorization Request (JAR)

Parameters

Name Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
parameters URLSearchParams -
privateKey CryptoKey | PrivateKey Private key to sign the Request Object with.

Returns

Promise<string>

oauth4webapi

Version Info

Tagged at
2 years ago