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

x/jose/lib/validate_crit.ts>default

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

Parameters

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