Skip to content

SessionGuard

  • CanActivate

new SessionGuard(reflector, options): SessionGuard

Reflector

ResolvedOptions

SessionGuard

canActivate(context): Promise<boolean>

ExecutionContext

Current execution context. Provides access to details about the current request pipeline.

Promise<boolean>

Value indicating whether or not the current request is allowed to proceed.

CanActivate.canActivate