Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
499 B
TypeScript
12 lines
499 B
TypeScript
import { CanActivate, ExecutionContext } from '@nestjs/common';
|
|
import { Reflector } from '@nestjs/core';
|
|
import { JwtService } from '@nestjs/jwt';
|
|
import { ConfigService } from '@nestjs/config';
|
|
export declare class JwtAuthGuard implements CanActivate {
|
|
private readonly reflector;
|
|
private readonly jwtService;
|
|
private readonly config;
|
|
constructor(reflector: Reflector, jwtService: JwtService, config: ConfigService);
|
|
canActivate(context: ExecutionContext): Promise<boolean>;
|
|
}
|