mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
9 lines
269 B
TypeScript
9 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>;
|