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

x/live/deps.ts>JwtVerifier

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface JwtVerifier
import { type JwtVerifier } from "https://deno.land/x/live@1.60.21/deps.ts";

Properties

verify: <TClaims extends Record<string, unknown> = Record<string, unknown>>(jwt: string) => Promise<JwtPayloadWithClaims<TClaims>>
decode: <TClaims extends Record<string, unknown> = Record<string, unknown>>(jwt: string) => JwtPayloadWithClaims<TClaims>