UNPKG

@next-nest-auth/nestauth

Version:

NestAuth is an authentication solution for NestJS applications, designed to handle user login, session management, and token-based authentication (JWT). It integrates seamlessly with Next.js and other frontends to provide a unified authentication system,

10 lines (9 loc) 552 B
import { Profile, Strategy } from "passport-facebook"; declare const NestAuthFacebookStrategy_base: new (...args: [options: import("passport-facebook").StrategyOptionsWithRequest] | [options: import("passport-facebook").StrategyOptions]) => Strategy & { validate(...args: any[]): unknown; }; export declare class NestAuthFacebookStrategy extends NestAuthFacebookStrategy_base { constructor(); validate(accessToken: string, refreshToken: string, profile: Profile, done: (err: any, user: any, info?: any) => void): Promise<any>; } export {};