introduce the jwt-guard

Cette révision appartient à :
Sven Czarnian
2022-11-03 01:09:30 +01:00
Parent 0827ccd1b1
révision 1d7f9e7e5a

5
src/auth/guards/jwt.guard.ts Fichier normal
Voir le fichier

@@ -0,0 +1,5 @@
import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
@Injectable()
export class JwtGuard extends AuthGuard('jwt') {}