Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Ultrafast web framework for Cloudflare Workers, Deno, Bun, and Node.js. Fast, but not only fast.
Extremely Popular
Go to Latest
variable basicAuth
import { basicAuth } from "https://deno.land/x/hono@v2.7.2/middleware/basic-auth/index.ts";

type

(options: { username: string; password: string; realm?: string; hashFunction?: Function; }, ...users: { username: string; password: string; }[]) => MiddlewareHandler