deno.land / x / oauth4webapi@v1.2.2 / docs / functions / validateJwtAuthResponse.md
â–¸ validateJwtAuthResponse(as
, client
, parameters
, expectedState?
, options?
): Promise
<CallbackParameters
| OAuth2Error
>
Same as validateAuthResponse but for signed JARM responses.
see
openid-financial-api-jarm-ID1 - JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)
Name | 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? |
HttpRequestOptions |
- |
Promise
<CallbackParameters
| OAuth2Error
>
Validated Authorization Response parameters or Authorization Error Response.
Version Info