Skip to content

Interface: CanActivate

Defined in: packages/core/src/guards/guard.interface.ts:11

Interface for guards

Extended by

Methods

canActivate()

ts
canActivate(context): boolean | Promise<boolean>;

Defined in: packages/core/src/guards/guard.interface.ts:16

Method to determine if a request should proceed

Parameters

ParameterTypeDescription
contextExecutionContextThe execution context

Returns

boolean | Promise<boolean>

Released under the MIT License.