summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/middleware/basic-auth/index.d.ts
blob: 072df608f364020ae6567367a1440bf3bac4309a (plain)
1
2
3
4
5
6
7
8
9
10
11
import type { Context } from '../../context';
import type { Next } from '../../hono';
export declare const basicAuth: (options: {
    username: string;
    password: string;
    realm?: string;
    hashFunction?: Function;
}, ...users: {
    username: string;
    password: string;
}[]) => (ctx: Context, next: Next) => Promise<void>;