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

validateJwtAuthResponse.md

Function: validateJwtAuthResponse

💗 Help the project

â–¸ 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)

Parameters

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 -

Returns

Promise<CallbackParameters | OAuth2Error>

Validated Authorization Response parameters or Authorization Error Response.

oauth4webapi

Version Info

Tagged at
2 years ago