UNPKG

@bitwild/rockets

Version:

Rockets - Core server functionality for NestJS applications with built-in authentication, user management, and API scaffolding

11 lines 537 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { AuthProviderInterface } from '../interfaces/auth-provider.interface'; export declare class AuthServerGuard implements CanActivate { private readonly authProvider; private readonly reflector; constructor(authProvider: AuthProviderInterface, reflector: Reflector); canActivate(context: ExecutionContext): Promise<boolean>; private extractTokenFromHeader; } //# sourceMappingURL=auth-server.guard.d.ts.map