UNPKG

nestjs-google-auth-guard

Version:
9 lines (8 loc) 382 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; import { GoogleAuthGuardOptions } from './google-auth-guard-options'; export declare class PreGoogleAuthGuard implements CanActivate { private readonly options; private readonly client; constructor(options: GoogleAuthGuardOptions); canActivate(context: ExecutionContext): boolean | Promise<boolean>; }