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

x/blocks/commons/jwt/trusted.ts>getTrustedVerifierOf

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable getTrustedVerifierOf
import { getTrustedVerifierOf } from "https://deno.land/x/blocks@1.107.0/commons/jwt/trusted.ts";

Returns and initializes a verifier based on the given issuer.

type

(issuer: keyof trustedIssuers) => Promise<JwtVerifier | undefined>