Skip to main content
Module

x/danet/mod.ts>GuardExecutor

A Savory web framework for Deno heavily inspired by Nest
Go to Latest
class GuardExecutor
Re-export
import { GuardExecutor } from "https://deno.land/x/danet@1.6.0/mod.ts";

Constructors

new
GuardExecutor(injector: Injector)

Methods

executeAllRelevantGuards(
context: ExecutionContext,
Controller: ControllerConstructor,
ControllerMethod: Callback,
)
executeControllerAndMethodAuthGuards(
context: ExecutionContext,
Controller: ControllerConstructor,
ControllerMethod: Callback,
)
executeGlobalGuard(context: ExecutionContext)
executeGuard(guard: AuthGuard, context: ExecutionContext)
executeGuardFromMetadata(context: ExecutionContext, constructor: Constructor | Function)