2026-02-25 11:37:29 +09:00
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
|
|
|
|
|
|
import { OtpService } from "../infra/otp/otp.service.js";
|
2026-03-03 17:58:06 +09:00
|
|
|
import { OtpEmailService } from "../infra/otp/otp-email.service.js";
|
2026-02-25 11:37:29 +09:00
|
|
|
import { GetStartedSessionService } from "../infra/otp/get-started-session.service.js";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* OTP Module
|
|
|
|
|
*
|
2026-03-03 17:58:06 +09:00
|
|
|
* Owns OTP generation/verification, OTP email sending,
|
|
|
|
|
* and get-started session management.
|
|
|
|
|
* Services are exported for use by LoginModule and GetStartedModule.
|
2026-02-25 11:37:29 +09:00
|
|
|
*/
|
|
|
|
|
@Module({
|
2026-03-03 17:58:06 +09:00
|
|
|
providers: [OtpService, OtpEmailService, GetStartedSessionService],
|
|
|
|
|
exports: [OtpService, OtpEmailService, GetStartedSessionService],
|
2026-02-25 11:37:29 +09:00
|
|
|
})
|
|
|
|
|
export class OtpModule {}
|