Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/lib/validate_crit.ts>default

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
function default
import { default } from "https://deno.land/x/jose@v4.15.1/lib/validate_crit.ts";

Parameters

Err: JWEInvalid | JWSInvalid
recognizedDefault: Map<string, boolean>
recognizedOption: { [propName: string]: boolean; } | undefined
protectedHeader: CritCheckHeader
joseHeader: CritCheckHeader