Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/blocks/commons/jwt/jwks.ts>newTrustedJwksIssuer

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable newTrustedJwksIssuer
import { newTrustedJwksIssuer } from "https://deno.land/x/blocks@1.63.13/commons/jwt/jwks.ts";

Returns a JwksIssuer that can be used to verify JWTs If remoteAddress is not passed fallbackPublicKey will be used. If both are passed so first a fetch is tried then fallbackPublicKey is used.

type

(unnamed 0: JwksIssuerOptions) => JwksIssuer