UNPKG

nestjs-auth-kit

Version:

A modular and flexible authentication kit for NestJS with JWT, social login, OTP, and password reset.

14 lines (13 loc) 887 B
import { Strategy, VerifyCallback } from 'passport-google-oauth20'; import { AuthService } from '../auth.service'; import { AuthOptions } from '../interfaces/auth-options.interface'; declare const GoogleStrategy_base: new (...args: [options: import("passport-google-oauth20").StrategyOptionsWithRequest] | [options: import("passport-google-oauth20").StrategyOptions] | [options: import("passport-google-oauth20").StrategyOptions] | [options: import("passport-google-oauth20").StrategyOptionsWithRequest]) => Strategy & { validate(...args: any[]): unknown; }; export declare class GoogleStrategy extends GoogleStrategy_base { private readonly authService; private readonly authOptions; constructor(authService: AuthService, authOptions: AuthOptions); validate(accessToken: string, refreshToken: string, profile: any, done: VerifyCallback): Promise<void>; } export {};