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