Skip to main content
Module

x/oauth4webapi/mod.ts>validateJwtAuthResponse

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function validateJwtAuthResponse
import { validateJwtAuthResponse } from "https://deno.land/x/oauth4webapi@v2.2.4/mod.ts";

Same as validateAuthResponse but for signed JARM responses.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

parameters: URLSearchParams | URL

JARM authorization response.

optional
expectedState: string | expectNoState | skipStateCheck

Expected state parameter value. Default is expectNoState.

optional
options: HttpRequestOptions

Returns

Validated Authorization Response parameters or Authorization Error Response.