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

x/faster/vendor/jose/index.ts>VerifyOptions

A fast and optimized middleware server with an absurdly small amount of code (300 lines) built on top of native HTTP APIs with no dependencies. It also has a collection of useful middlewares: log file, serve static, CORS, session, rate limit, token, body parsers, redirect, proxy and handle upload. For Deno Deploy and other enviroments!
Latest
interface VerifyOptions
implements CritOption
import { type VerifyOptions } from "https://deno.land/x/faster@v12.1/vendor/jose/index.ts";

JWS Verification options.

Properties

optional
algorithms: string[]

A list of accepted JWS "alg" (Algorithm) Header Parameter values. By default all "alg" (Algorithm) values applicable for the used key/secret are allowed.

Note: Unsecured JWTs ({ "alg": "none" }) are never accepted by this API.