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,

17 lines (16 loc) 674 B
import { NestAuthService } from "./nestauth.service"; export declare function createDynamicController(prefix: string, nestAuthServiceToken: string, localGuard: any): { new (nestAuthService: NestAuthService): { readonly nestAuthService: NestAuthService; greetings(): Promise<string>; login(req: any): Promise<any>; refreshToken(params: { refresh_token: string; }): Promise<any>; googleAuth(req: any): Promise<any>; googleAuthRedirect(req: any): Promise<any>; facebookLogin(): Promise<any>; facebookLoginRedirect(req: any): Promise<any>; logout(req: any): Promise<any>; }; };