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

x/hono/middleware/bearer-auth/index.ts>bearerAuth

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable bearerAuth
import { bearerAuth } from "https://deno.land/x/hono@v3.11.1/middleware/bearer-auth/index.ts";

type

(options: { token: string | string[]; realm?: string; prefix?: string; hashFunction?: Function; }) => MiddlewareHandler