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

x/hono/middleware/basic-auth/index.ts>basicAuth

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable basicAuth
import { basicAuth } from "https://deno.land/x/hono@v4.2.1/middleware/basic-auth/index.ts";

type

(options: BasicAuthOptions, ...users: { username: string; password: string; }[]) => MiddlewareHandler