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.
▸ validateJwtAuthResponse(as
, client
, parameters
, expectedState
?, options
?): Promise
<URLSearchParams
>
Same as validateAuthResponse but for signed JARM responses.
Parameter | Type | Description |
---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
parameters |
URLSearchParams | URL |
JARM authorization response. |
expectedState ? |
string | typeof expectNoState | typeof skipStateCheck |
Expected state parameter value. Default is expectNoState. |
options ? |
ValidateSignatureOptions & JWEDecryptOptions |
- |
Validated Authorization Response parameters. Authorization Error Responses are rejected using AuthorizationResponseError.
JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)