@brewww/authentication-service
Version:
Authenticator service for Brew projects.
13 lines (12 loc) • 691 B
TypeScript
import { UserService } from "../user/user.service";
import { SendLoginOtpEmailRequest } from "./dto/send-login-otp-email-request.dto";
import { OtpService } from "../otp/otp.service";
import { EventEmitter2 } from "@nestjs/event-emitter";
import { SendLoginOtpEmailResponse } from "./dto/send-login-otp-email-response.dto";
export declare class SendLoginOtpEmailController {
private readonly userService;
private readonly otpService;
private readonly eventEmitter;
constructor(userService: UserService, otpService: OtpService, eventEmitter: EventEmitter2);
sendLoginOtpEmailAsync(sendLoginOtpEmailRequest: SendLoginOtpEmailRequest): Promise<SendLoginOtpEmailResponse>;
}