package modules import ( appAuth "cls/internal/application/auth" "cls/internal/application/crypto" "cls/internal/infrastructure/persistence/auth" "cls/internal/interfaces" handle "cls/internal/interfaces/auth" "go.uber.org/fx" ) var AuthModule = fx.Module("AuthModule", fx.Provide( interfaces.AsHandler(handle.NewAuthHandler), ), fx.Provide( appAuth.NewCaptchaService, auth.NewAuthRepositoryORM, crypto.NewPasswordHashService, crypto.NewPhoneEncryptionService, appAuth.NewAuthService, ), )