UNPKG

nestjs-auth-kit

Version:

A modular and flexible authentication kit for NestJS with JWT, social login, OTP, and password reset.

10 lines (9 loc) 399 B
import { Repository } from 'typeorm'; import { User } from '../entities/user.entity'; import { OtpService } from './otp.service'; export declare class RegisterService { private readonly userRepository; private readonly otpService; constructor(userRepository: Repository<User>, otpService: OtpService); resetPassword(email: string, otp: string, newPassword: string): Promise<void>; }