@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,
12 lines (11 loc) • 427 B
TypeScript
import { Strategy } from "passport-custom";
import { NestAuthInterface } from "./nestauth.interface";
declare const NestAuthLocalStrategy_base: new () => Strategy & {
validate(...args: any[]): unknown;
};
export declare class NestAuthLocalStrategy extends NestAuthLocalStrategy_base {
private readonly userService;
constructor(userService: NestAuthInterface);
validate(req: Request): Promise<any>;
}
export {};