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