Interface defining the canActivate() function that must be implemented by a guard. Return value indicates whether or not the current request is allowed to proceed. Return can be either synchronous (boolean) or asynchronous (Promise or Observable).
canActivate()
boolean
Promise
Observable
Guards
Current execution context. Provides access to details about the current request pipeline.
Value indicating whether or not the current request is allowed to proceed.
Generated using TypeDoc
Interface defining the
canActivate()
function that must be implemented by a guard. Return value indicates whether or not the current request is allowed to proceed. Return can be either synchronous (boolean
) or asynchronous (Promise
orObservable
).Guards