public SignUpCommandHandler(EventBusService eventBusService, IUserAuthenticationDataRepository userAuthenticationDataRepository, IUserRepository userRepository, ILogger <SignUpCommandHandler> logger) : base(logger) { _eventBusService = eventBusService; _userAuthenticationDataRepository = userAuthenticationDataRepository; _userRepository = userRepository; _logger = logger; }
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; }
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); }
public ChangePasswordCommandHandler(ILogger <ChangePasswordCommandHandler> logger, IUserAuthenticationDataRepository authenticationDataRepository) : base(logger) { _logger = logger; _authenticationDataRepository = authenticationDataRepository; }
public SignInCommandHandler(IUserAuthenticationDataRepository userAuthenticationDataRepository, ILogger <SignInCommandHandler> logger) : base(logger) { _userAuthenticationDataRepository = userAuthenticationDataRepository; _logger = logger; }