Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function djwt.verify
import { djwt } from "https://deno.land/x/fathym_everything_as_code@v0.0.413/src/src.deps.ts";
const { verify } = djwt;

Takes jwt, CryptoKey and VerifyOptions and returns the Payload of the jwt if the jwt is valid. Otherwise it throws an Error.

Parameters

jwt: string
key: CryptoKey | null
optional
options: VerifyOptions