introduce the jwt-guard
Cette révision appartient à :
1 Parent
0827ccd1b1
révision
1d7f9e7e5a
1 fichier modifié
+5
@@ -0,0 +1,5 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { AuthGuard } from '@nestjs/passport';
|
||||
|
||||
@Injectable()
|
||||
export class JwtGuard extends AuthGuard('jwt') {}
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur