import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';

/**
 * JWT authentication guard.
 * Protects routes by requiring a valid Bearer JWT token.
 *
 * @example
 * @UseGuards(JwtAuthGuard)
 * @Get('/profile')
 * getProfile() { ... }
 */
@Injectable()
export class JwtAuthGuard extends AuthGuard('jwt') {}
