Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oauth4webapi/mod.ts>validateJwtAuthResponse

OAuth 2 / OpenID Connect for JavaScript Runtimes
Latest
function validateJwtAuthResponse
import { validateJwtAuthResponse } from "https://deno.land/x/oauth4webapi@v2.11.1/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.

Returns

Validated Authorization Response parameters or Authorization Error Response.