introduce the jwt-guard
Cette révision appartient à :
5
src/auth/guards/jwt.guard.ts
Fichier normal
5
src/auth/guards/jwt.guard.ts
Fichier normal
@@ -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