import { Injectable } from "@nestjs/common"; import { AuthGuard } from "@nestjs/passport"; /** * JWT Auth Guard * * Use this guard to protect routes that require authentication * * Usage: * @UseGuards(JwtAuthGuard) */ @Injectable() export class JwtAuthGuard extends AuthGuard("jwt") {}