@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,
16 lines (15 loc) • 546 B
TypeScript
import { NestAuthService } from "./nestauth.service";
export declare class NestAuthController {
private readonly nestAuthService;
constructor(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>;
}