Module

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

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
variable bearerAuth
import { bearerAuth } from "https://dotland.deno.dev/x/hono@v4.1.0/middleware/bearer-auth/index.ts";

type

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