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
| Parameter | Type | Description |
|---|---|---|
context | ExecutionContext | The execution context |
Returns
boolean | Promise<boolean>