GateDeniedHandler typedef

GateDeniedHandler = FutureOr<Response?> Function(GateViolation violation, EngineContext ctx)

A handler function that is called when a gate denies access.

Implementation

typedef GateDeniedHandler =
    FutureOr<Response?> Function(GateViolation violation, EngineContext ctx);