UNPKG

@wepublish/api

Version:
11 lines (10 loc) 445 B
import { ExecutionContext } from '@nestjs/common'; declare const OptionalAuthenticationGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>; /** * This Guard is to attach the user to the request */ export declare class OptionalAuthenticationGuard extends OptionalAuthenticationGuard_base { getRequest(context: ExecutionContext): any; canActivate(context: ExecutionContext): Promise<boolean>; } export {};