1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 11:02:19 -05:00
denoland-deno/cli/bench/testdata/npm/hono/dist/middleware/bearer-auth/index.d.ts
2022-08-19 15:54:54 +05:30

8 lines
269 B
TypeScript

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>;