Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.49 KB

issueRequestObject.md

File metadata and controls

28 lines (17 loc) · 1.49 KB

Function: issueRequestObject()

💗 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.


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

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

Parameters

Parameter Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
parameters Record<string, string> | URLSearchParams | string[][] -
privateKey CryptoKey | PrivateKey Private key to sign the Request Object with.

Returns

Promise<string>

See

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