Beispiel #1
0
 public PasswordService(IUserRepository userRepository,
                        IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                        IEncrypter encrypter)
 {
     _userRepository = userRepository.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
     _encrypter = encrypter.CheckIfNotEmpty();
 }
Beispiel #2
0
 public ResetPasswordInitiatedDomainEventHandler(ILogger <ResetPasswordInitiatedDomainEventHandler> logger,
                                                 IMassTransitBusService massTransitBusService,
                                                 IOneTimeSecuredOperationService oneTimeSecuredOperationService)
 {
     _logger = logger.CheckIfNotEmpty();
     _massTransitBusService          = massTransitBusService.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
 }
 public UserService(IUserRepository userRepository,
                    IEncrypter encrypter,
                    IOneTimeSecuredOperationService securedOperationService)
 {
     _userRepository          = userRepository.CheckIfNotEmpty();
     _encrypter               = encrypter.CheckIfNotEmpty();
     _securedOperationService = securedOperationService.CheckIfNotEmpty();
 }
Beispiel #4
0
 public PasswordService(IUserRepository userRepository,
                        IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                        IEncrypter encrypter)
 {
     _userRepository = userRepository;
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService;
     _encrypter = encrypter;
 }
 public UserService(IUserRepository userRepository,
                    IEncrypter encrypter,
                    IOneTimeSecuredOperationService seruredOperationService)
 {
     _userRepository          = userRepository;
     _encrypter               = encrypter;
     _seruredOperationService = seruredOperationService;
 }
 public SendActivationMessageCommandHandler(IHandler handler,
                                            IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                                            IMediatRBus mediatRBus, AppOptions appOptions)
 {
     _handler = handler.CheckIfNotEmpty();
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService.CheckIfNotEmpty();
     _mediatRBus = mediatRBus.CheckIfNotEmpty();
     _appOptions = appOptions.CheckIfNotEmpty();
 }
Beispiel #7
0
 public ResetPasswordHandler(IHandler handler,
                             IBusClient bus,
                             IPasswordService passwordService,
                             IOneTimeSecuredOperationService oneTimeSecuredOperationService)
 {
     _handler         = handler;
     _bus             = bus;
     _passwordService = passwordService;
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService;
 }
Beispiel #8
0
 public SignUpHandler(IHandler handler,
                      IBusClient bus,
                      IUserService userService,
                      IOneTimeSecuredOperationService oneTimeSecuredOperationService,
                      IResourceFactory resourceFactory,
                      AppSettings settings)
 {
     _handler     = handler;
     _bus         = bus;
     _userService = userService;
     _oneTimeSecuredOperationService = oneTimeSecuredOperationService;
     _resourceFactory = resourceFactory;
     _settings        = settings;
 }