Module

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

Web Framework built on Web Standards
Very Popular
Go to Latest
variable basicAuth
import { basicAuth } from "https://dotland.deno.dev/x/hono@v4.2.6/middleware/basic-auth/index.ts";

type

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