public UnlockAccountStrategy( IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, ISendAccountUnlockCodeStrategy sendAccountUnlockCodeStrategy) { _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _sendAccountUnlockCodeStrategy = sendAccountUnlockCodeStrategy; }
public UsersController( IMapper mapper, IMediator mediator, IUserReadRepository userReadRepository) { this.mapper = mapper; this.mediator = mediator; this.userReadRepository = userReadRepository; }
public CandidateDiagnosticsRepository(IConfigurationService configurationService, IMapper mapper, IUserReadRepository userReadRepository, ILogService logger) { var config = configurationService.Get <MongoConfiguration>(); Initialise(config.CandidatesDb, "candidates"); _mapper = mapper; _userReadRepository = userReadRepository; _logger = logger; }
public CandidateDailyDigestCommunicationCommand( ILogService logService, IConfigurationService configurationService, IServiceBus serviceBus, ICandidateReadRepository candidateReadRepository, IUserReadRepository userReadRepository) : base(logService, configurationService, serviceBus, candidateReadRepository, userReadRepository) { }
public QueueUsernameUpdateCommunicationStrategy( IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository, IServiceBus serviceBus) { _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; _serviceBus = serviceBus; }
public UserCommandHandler( IMediator mediator, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository) { this.mediator = mediator; this.userReadRepository = userReadRepository; this.userWriteRepository = userWriteRepository; }
public LegacyActivateCandidateStrategy(IUserReadRepository userReadRepository, IUserAccountService registrationService, ILegacyCandidateProvider legacyCandidateProvider, ICandidateWriteRepository candidateWriteRepository, ICandidateReadRepository candidateReadRepository) { _userReadRepository = userReadRepository; _registrationService = registrationService; _legacyCandidateProvider = legacyCandidateProvider; _candidateWriteRepository = candidateWriteRepository; _candidateReadRepository = candidateReadRepository; }
public UserWriteService( IUserWriteRepository userWriteRepository, IUserReadRepository userReadRepository, IRoleReadRepository roleReadRepository) { this.userWriteRepository = userWriteRepository; this.userReadRepository = userReadRepository; this.roleReadRepository = roleReadRepository; }
public ResendActivationCodeStrategy(IConfigurationService configurationService, ICommunicationService communicationService, ICandidateReadRepository candidateReadRepository, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository) { _communicationService = communicationService; _candidateReadRepository = candidateReadRepository; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _activationCodeExpiryDays = configurationService.Get <UserAccountConfiguration>().ActivationCodeExpiryDays; }
public ResendActivationCodeStrategy(IConfigurationManager configurationManager, ICommunicationService communicationService, ICandidateReadRepository candidateReadRepository, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository) { _communicationService = communicationService; _candidateReadRepository = candidateReadRepository; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _activationCodeExpiryDays = configurationManager.GetAppSetting <int>("ActivationCodeExpiryDays"); }
public SendSavedSearchAlertsStrategy( ISavedSearchAlertRepository savedSearchAlertRepository, ICandidateReadRepository candidateReadRepository, IUserReadRepository userReadRepository, IServiceBus serviceBus) { _savedSearchAlertRepository = savedSearchAlertRepository; _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; _serviceBus = serviceBus; }
public CandidateAccountHousekeepingSubscriber( ILogService logService, IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository, IEnumerable <IHousekeepingChainOfResponsibility> housekeepingChains) { _logService = logService; _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; _housekeepingChains = housekeepingChains.OrderBy(hc => hc.Order).ToList(); }
public LegacyUnlockAccountStrategy(IUnlockAccountStrategy unlockAccountStrategy, ICandidateReadRepository candidateReadRepository, ICandidateWriteRepository candidateWriteRepository, ILegacyCandidateProvider legacyCandidateProvider, IUserReadRepository userReadRepository) { _unlockAccountStrategy = unlockAccountStrategy; _candidateReadRepository = candidateReadRepository; _candidateWriteRepository = candidateWriteRepository; _legacyCandidateProvider = legacyCandidateProvider; _userReadRepository = userReadRepository; }
public LegacyResetForgottenPasswordStrategy(IResetForgottenPasswordStrategy resetForgottenPasswordStrategy, ICandidateReadRepository candidateReadRepository, ICandidateWriteRepository candidateWriteRepository, ILegacyCandidateProvider legacyCandidateProvider, IUserReadRepository userReadRepository) { _resetForgottenPasswordStrategy = resetForgottenPasswordStrategy; _candidateReadRepository = candidateReadRepository; _candidateWriteRepository = candidateWriteRepository; _legacyCandidateProvider = legacyCandidateProvider; _userReadRepository = userReadRepository; }
public SendPasswordResetCodeStrategy(IConfigurationManager configurationManager, ICommunicationService communicationService, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, ICandidateReadRepository candidateReadRepository, ILogService logger) { _communicationService = communicationService; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _candidateReadRepository = candidateReadRepository; _logger = logger; _passwordResetCodeExpiryDays = configurationManager.GetAppSetting <int>("PasswordResetCodeExpiryDays"); }
public ChangePasswordCommandHandler(ICustomerWriteRepository customerWriteRepository, ICustomerReadRepository customerReadRepository, IUserWriteRepository userWriteRepository, IUserReadRepository userReadRepository, IMapper mapper) { _customerWriteRepository = customerWriteRepository; _customerReadRepository = customerReadRepository; _userWriteRepository = userWriteRepository; _userReadRepository = userReadRepository; _mapper = mapper; }
public SendAccountUnlockCodeStrategy( IConfigurationManager configurationManager, IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository, ILockUserStrategy lockUserStrategy, ICommunicationService communicationService) { _configurationManager = configurationManager; _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; _lockUserStrategy = lockUserStrategy; _communicationService = communicationService; }
public CandidateProcessor( ILogService logService, IConfigurationService configurationService, IServiceBus serviceBus, IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository) { _logService = logService; _configurationService = configurationService; _serviceBus = serviceBus; _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; }
public SendPendingUsernameCodeStrategy( ILogService logger, ICommunicationService communicationService, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository) { _logger = logger; _communicationService = communicationService; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; }
public UpdateUsernameStrategy(IUserAccountService userAccountService, ICandidateReadRepository candidateReadRepository, ICandidateWriteRepository candidateWriteRepository, ISaveCandidateStrategy saveCandidateStrategy, IUserReadRepository userReadRepository, IServiceBus serviceBus) { _userAccountService = userAccountService; _candidateReadRepository = candidateReadRepository; _candidateWriteRepository = candidateWriteRepository; _saveCandidateStrategy = saveCandidateStrategy; _userReadRepository = userReadRepository; _serviceBus = serviceBus; }
public CandidateCommunicationCommand( ILogService logService, IConfigurationService configurationService, IServiceBus serviceBus, ICandidateReadRepository candidateReadRepository, IUserReadRepository userReadRepository) : base(serviceBus) { _logService = logService; _configurationService = configurationService; _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; }
public SendPasswordResetCodeStrategy(IConfigurationService configurationService, ICommunicationService communicationService, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, ICandidateReadRepository candidateReadRepository, ILogService logger) { _communicationService = communicationService; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _candidateReadRepository = candidateReadRepository; _logger = logger; _passwordResetCodeExpiryDays = configurationService.Get <UserAccountConfiguration>().PasswordResetCodeExpiryDays; }
public SendAccountUnlockCodeStrategy( IConfigurationService configurationService, IUserReadRepository userReadRepository, ICandidateReadRepository candidateReadRepository, ILockUserStrategy lockUserStrategy, ICommunicationService communicationService) { _unlockCodeExpiryDays = configurationService.Get <UserAccountConfiguration>().UnlockCodeExpiryDays; _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; _lockUserStrategy = lockUserStrategy; _communicationService = communicationService; }
public CreateCandidateRequestConsumerAsync( ICandidateReadRepository candidateReadRepository, IUserReadRepository userReadRepository, ILegacyCandidateProvider legacyCandidateProvider, ICandidateWriteRepository candidateWriteRepository, IMessageBus messageBus, ILogService logger) { _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; _legacyCandidateProvider = legacyCandidateProvider; _candidateWriteRepository = candidateWriteRepository; _messageBus = messageBus; _logger = logger; }
public AuthenticateCandidateStrategy( IConfigurationManager configManager, IAuthenticationService authenticationService, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, ICandidateReadRepository candidateReadRepository, ILockAccountStrategy lockAccountStrategy) { _userWriteRepository = userWriteRepository; _authenticationService = authenticationService; _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; _lockAccountStrategy = lockAccountStrategy; _maximumPasswordAttemptsAllowed = configManager.GetAppSetting <int>("MaximumPasswordAttemptsAllowed"); }
public SendDailyDigestsStrategy( ILogService logService, IServiceBus serviceBus, IExpiringApprenticeshipApplicationDraftRepository expiringDraftRepository, IApplicationStatusAlertRepository applicationStatusAlertRepository, ICandidateReadRepository candidateReadRepository, IUserReadRepository userReadRepository) { _logService = logService; _serviceBus = serviceBus; _expiringDraftRepository = expiringDraftRepository; _applicationStatusAlertRepository = applicationStatusAlertRepository; _candidateReadRepository = candidateReadRepository; _userReadRepository = userReadRepository; }
public AuthenticateCandidateStrategy( IConfigurationService configService, IAuthenticationService authenticationService, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, ICandidateReadRepository candidateReadRepository, ILockAccountStrategy lockAccountStrategy, IServiceBus serviceBus) { _userWriteRepository = userWriteRepository; _authenticationService = authenticationService; _userReadRepository = userReadRepository; _candidateReadRepository = candidateReadRepository; _lockAccountStrategy = lockAccountStrategy; _serviceBus = serviceBus; _maximumPasswordAttemptsAllowed = configService.Get <UserAccountConfiguration>().MaximumPasswordAttemptsAllowed; }
public RegisterCandidateStrategy(IConfigurationManager configurationManager, IUserAccountService userAccountService, IAuthenticationService authenticationService, ICandidateWriteRepository candidateWriteRepository, ICommunicationService communicationService, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository) { _userAccountService = userAccountService; _authenticationService = authenticationService; _candidateWriteRepository = candidateWriteRepository; _communicationService = communicationService; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _activationCodeExpiryDays = configurationManager.GetAppSetting <int>("ActivationCodeExpiryDays"); }
public UpdateUsernameStrategy( IUserDirectoryProvider userDirectoryProvider, IUserReadRepository userReadRepository, IUserWriteRepository userWriteRepository, IAuthenticationRepository authenticationRepository, IAuditRepository auditRepository, ICodeGenerator codeGenerator, ILogService logService) { _userDirectoryProvider = userDirectoryProvider; _userReadRepository = userReadRepository; _userWriteRepository = userWriteRepository; _authenticationRepository = authenticationRepository; _auditRepository = auditRepository; _codeGenerator = codeGenerator; _logService = logService; }
public RegisterCandidateStrategy(IConfigurationService configurationService, IUserAccountService userAccountService, IAuthenticationService authenticationService, ICandidateWriteRepository candidateWriteRepository, ICommunicationService communicationService, ICodeGenerator codeGenerator, IUserReadRepository userReadRepository, IServiceBus serviceBus) { _userAccountService = userAccountService; _authenticationService = authenticationService; _candidateWriteRepository = candidateWriteRepository; _communicationService = communicationService; _codeGenerator = codeGenerator; _userReadRepository = userReadRepository; _serviceBus = serviceBus; _activationCodeExpiryDays = configurationService.Get <UserAccountConfiguration>().ActivationCodeExpiryDays; }