class AuthMiddleware
implements MiddlewareTarget
import { AuthMiddleware } from "https://dotland.deno.dev/x/alosaur@v1.1.1/src/security/authorization/mod.ts";
Constructors
new
AuthMiddleware(schemes: AuthenticationScheme[])Methods
onPostRequest(): void
onPreRequest(context: SecurityContext<unknown>): Promise<void>