17 lines
504 B
TypeScript
17 lines
504 B
TypeScript
|
|
import { Module } from "@nestjs/common";
|
||
|
|
|
||
|
|
import { OtpService } from "../infra/otp/otp.service.js";
|
||
|
|
import { GetStartedSessionService } from "../infra/otp/get-started-session.service.js";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* OTP Module
|
||
|
|
*
|
||
|
|
* Owns OTP generation/verification and get-started session management.
|
||
|
|
* Both services are exported for use by LoginModule and GetStartedModule.
|
||
|
|
*/
|
||
|
|
@Module({
|
||
|
|
providers: [OtpService, GetStartedSessionService],
|
||
|
|
exports: [OtpService, GetStartedSessionService],
|
||
|
|
})
|
||
|
|
export class OtpModule {}
|