public SignUpCommandHandler(EventBusService eventBusService, IUserAuthenticationDataRepository userAuthenticationDataRepository, IUserRepository userRepository, ILogger <SignUpCommandHandler> logger) : base(logger)
 {
     _eventBusService = eventBusService;
     _userAuthenticationDataRepository = userAuthenticationDataRepository;
     _userRepository = userRepository;
     _logger         = logger;
 }
Esempio n. 2
0
 public CheckResetCodeCommandHandler(IResetPasswordCodeRepository resetPasswordCodeRepository,
                                     IUserAuthenticationDataRepository userAuthenticationDataRepository,
                                     ILogger <CheckResetCodeCommandHandler> logger) : base(logger)
 {
     _resetPasswordCodeRepository      = resetPasswordCodeRepository;
     _userAuthenticationDataRepository = userAuthenticationDataRepository;
     _logger = logger;
 }
 public RequestResetPasswordCommandHandler(ILogger <RequestResetPasswordCommandHandler> logger,
                                           IResetPasswordCodeRepository resetPasswordCodeRepository,
                                           IUserAuthenticationDataRepository userAuthenticationDataRepository,
                                           IResetLinkSenderService linkSenderService) : base(logger)
 {
     _logger = logger;
     _resetPasswordCodeRepository      = resetPasswordCodeRepository;
     _userAuthenticationDataRepository = userAuthenticationDataRepository;
     _linkSenderService = linkSenderService;
 }
Esempio n. 4
0
        public void SetUp()
        {
            var serverOpt = new UserAuthDbContextOptions()
            {
                ConnectionString = TestContextUtils.GetParameterOrDefault("sqlserver",
                                                                          "Data Source=.;Initial Catalog=AuctionhouseDatabase;Integrated Security=False;User ID=sa;PWD=Qwerty1234;")
            };

            _userAuthenticationDataRepository = new UserAuthenticationDataRepository(serverOpt);
        }
Esempio n. 5
0
 public ChangePasswordCommandHandler(ILogger <ChangePasswordCommandHandler> logger, IUserAuthenticationDataRepository authenticationDataRepository) : base(logger)
 {
     _logger = logger;
     _authenticationDataRepository = authenticationDataRepository;
 }
Esempio n. 6
0
 public SignInCommandHandler(IUserAuthenticationDataRepository userAuthenticationDataRepository, ILogger <SignInCommandHandler> logger)
     : base(logger)
 {
     _userAuthenticationDataRepository = userAuthenticationDataRepository;
     _logger = logger;
 }