import { Module } from "@nestjs/common"; import { AuthController } from "./auth.controller.js"; import { AuthService } from "./auth.service.js"; import { PasswordService } from "./password.service.js"; import { TokenService } from "./token.service.js"; import { MfaService } from "./mfa.service.js"; import { JwtAuthGuard } from "./jwt-auth.guard.js"; import { PermissionGuard } from "./permission.guard.js"; import { SuperAdminGuard } from "./super-admin.guard.js"; import { FieldEncryptionService } from "../crypto/field-encryption.service.js"; import { RateLimitModule } from "../common/rate-limit/rate-limit.module.js"; @Module({ imports: [RateLimitModule], controllers: [AuthController], providers: [ AuthService, PasswordService, TokenService, MfaService, FieldEncryptionService, JwtAuthGuard, PermissionGuard, SuperAdminGuard, ], exports: [PasswordService, TokenService, JwtAuthGuard, PermissionGuard, SuperAdminGuard], }) export class AuthModule {}