nestjs-auth-kit
Version:
A modular and flexible authentication kit for NestJS with JWT, social login, OTP, and password reset.
15 lines (14 loc) • 772 B
TypeScript
import { Strategy } from 'passport-facebook';
import { AuthService } from '../auth.service';
import { AuthOptions } from '../interfaces/auth-options.interface';
import { VerifyCallback } from 'passport-oauth2';
declare const FacebookStrategy_base: new (...args: [options: import("passport-facebook").StrategyOptionsWithRequest] | [options: import("passport-facebook").StrategyOptions]) => Strategy & {
validate(...args: any[]): unknown;
};
export declare class FacebookStrategy extends FacebookStrategy_base {
private readonly authService;
private readonly authOptions;
constructor(authService: AuthService, authOptions: AuthOptions);
validate(accessToken: string, refreshToken: string, profile: any, done: VerifyCallback): Promise<void>;
}
export {};