summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/middleware/bearer-auth/index.d.ts
blob: 972177fc73d74807cffebc892d54faf9b52b99fb (plain)
1
2
3
4
5
6
7
8
import type { Context } from '../../context';
import type { Next } from '../../hono';
export declare const bearerAuth: (options: {
    token: string;
    realm?: string;
    prefix?: string;
    hashFunction?: Function;
}) => (c: Context, next: Next) => Promise<void>;