UNPKG

bb-inspired

Version:

Core library for BB-inspired NestJS backend

13 lines (12 loc) 526 B
import { ExecutionContext } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { AuthService } from '../auth/auth.service'; declare const JwtAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>; export declare class JwtAuthGuard extends JwtAuthGuard_base { private reflector; private authService; constructor(reflector: Reflector, authService: AuthService); canActivate(context: ExecutionContext): Promise<boolean>; private extractToken; } export {};