Module

x/live/commons/jwt/jwt.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://dotland.deno.dev/x/live@1.63.12/commons/jwt/jwt.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>