@bitwild/rockets-auth
Version:
Rockets Auth - Complete authentication and authorization solution for NestJS with JWT, OAuth, OTP, role-based access control, and more
15 lines • 808 B
TypeScript
import { EmailSendInterface } from '@concepta/nestjs-common';
import { RocketsAuthSettingsInterface } from '../../../shared/interfaces/rockets-auth-settings.interface';
import { RocketsAuthOtpNotificationServiceInterface } from '../interfaces/rockets-auth-otp-notification-service.interface';
export interface RocketsAuthOtpEmailParams {
email: string;
passcode: string;
}
export declare class RocketsAuthNotificationService implements RocketsAuthOtpNotificationServiceInterface {
private readonly settings;
private readonly emailService;
private readonly logger;
constructor(settings: RocketsAuthSettingsInterface, emailService: EmailSendInterface);
sendOtpEmail(params: RocketsAuthOtpEmailParams): Promise<void>;
}
//# sourceMappingURL=rockets-auth-notification.service.d.ts.map