Kind: Class
Source: atloria-monorepo/apps/api/src/auth/strategies/jwt.strategy.ts
Extends: PassportStrategy(Strategy)
Methods
| Method | Signature | Returns |
|---|---|---|
validate | validate(payload: JwtPayload) | Promise<JwtPayload> |
Where it refuses work
JwtStrategystops the work withUnauthorizedExceptionwhen!user— “User not found”.JwtStrategystops the work withUnauthorizedExceptionwhen!user.isActive— “Account is deactivated”.
Referenced By
AuthModule(MODULE_PROVIDES)
Was this page helpful?