UNPKG

@brewww/authentication-service

Version:
15 lines (14 loc) 789 B
import { ResetPasswordService } from "./reset-password.service"; import { OkResponse } from "../dto"; import { UserService } from "../user/user.service"; import { EventEmitter2 } from "@nestjs/event-emitter"; import { ConfigService } from "@nestjs/config"; import { CreateResetPasswordRequest } from "./dto/create-reset-password-request.dto"; export declare class ForgotPasswordController { private readonly userService; private readonly resetPasswordService; private readonly eventEmitter; private readonly configService; constructor(userService: UserService, resetPasswordService: ResetPasswordService, eventEmitter: EventEmitter2, configService: ConfigService); forgotPasswordAsync(createResetPasswordRequest: CreateResetPasswordRequest): Promise<OkResponse>; }