2025-02-01 21:48:13 +00:00
|
|
|
export * from "./auth-service.interface";
|
|
|
|
|
import { ITransactionManager } from "@common/infrastructure/database";
|
|
|
|
|
import { SequelizeTransactionManager } from "@common/infrastructure/sequelize/sequelize-transaction-manager";
|
|
|
|
|
import { AuthenticatedUserRepository } from "../infraestructure";
|
|
|
|
|
import { AuthService } from "./auth.service";
|
|
|
|
|
|
|
|
|
|
const transactionManager: ITransactionManager = new SequelizeTransactionManager();
|
|
|
|
|
const authenticatedUserRepository = new AuthenticatedUserRepository();
|
|
|
|
|
const authService = new AuthService(authenticatedUserRepository, transactionManager);
|
|
|
|
|
|
|
|
|
|
export { authService };
|