Question · NestJS course · Module 2: Routing and Request Lifecycle
Basics: Guard Interface
What interface does a guard implement in NestJS?
Answer options
- NestMiddleware
- CanActivate
- NestInterceptor
- PipeTransform
Show the answer
Correct answer:
- CanActivate