feat: jwt guard for nest controllers

This commit is contained in:
Louis Auzuret
2022-06-20 15:49:09 +02:00
parent a71b39090e
commit 10730d17f3
+5
View File
@@ -0,0 +1,5 @@
import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
@Injectable()
export class JwtAuthGuard extends AuthGuard('jwt') {}