public RestorePasswordService(IUOWFactory uowf, IAuthKeyService emailKeyService, IAuthKeyService phoneKeyService, IRegValidator reg, IPassHasher pHasher) { DataFactory = uowf; emailService = emailKeyService; phoneService = phoneKeyService; regValidator = reg; passHasher = pHasher; }
public ProfileService( IUOWFactory uowf, IRegValidator regValidator, IConfirmService emailCS, IConfirmService phoneCS, IPassHasher passHasher, IClaimService claimService, IGetUserDTO getUserDTO) { DataFactory = uowf; RegValidator = regValidator; EmailService = emailCS; PhoneService = phoneCS; PassHasher = passHasher; ClaimService = claimService; GetUserService = getUserDTO; }
public UserAuthService(IUOWFactory iuowf, IAuthKeyService phoneAuthService, IAuthKeyService emailAuthService, IPassHasher passHasher, IRegValidator regValidator, IClaimService claimService, IKeyGenerator keyGenerator, IGetUserDTO getUserDTO) { DataFactory = iuowf; EmailAuthService = emailAuthService; PhoneAuthService = phoneAuthService; PassHasher = passHasher; RegValidator = regValidator; ClaimService = claimService; KeyGenerator = keyGenerator; GetUserService = getUserDTO; }
public void SetUp() { _passHasher = new PassHasher(); }
public UserService(IUnitOfWork unitOfWork, IPassHasher hasher, IMapper mapper) { _unitOfWork = unitOfWork; _hasher = hasher; _mapper = mapper; }
public AuthService(IUnitOfWork unitOfWork, IPassHasher hasher, IRoleRepository roleRepository, JwtManager jwtManager) { _unitOfWork = unitOfWork; _hasher = hasher; _jwtManager = jwtManager; }