public GetUserLoginInfoIfAuthenticatedQueryHandler( CofoundryDbContext dbContext, UserAuthenticationHelper userAuthenticationHelper ) { _userAuthenticationHelper = userAuthenticationHelper; _dbContext = dbContext; }
public UpdateCurrentUserPasswordCommandHandler( CofoundryDbContext dbContext, UserAuthenticationHelper userAuthenticationHelper, IPermissionValidationService permissionValidationService, IUserAreaDefinitionRepository userAreaRepository, IPasswordUpdateCommandHelper passwordUpdateCommandHelper ) { _dbContext = dbContext; _userAuthenticationHelper = userAuthenticationHelper; _permissionValidationService = permissionValidationService; _userAreaRepository = userAreaRepository; _passwordUpdateCommandHelper = passwordUpdateCommandHelper; }
public AuthenticateUserCredentialsQueryHandler( ILogger <AuthenticateUserCredentialsQueryHandler> logger, CofoundryDbContext dbContext, IDomainRepository domainRepository, IUserAreaDefinitionRepository userAreaDefinitionRepository, UserAuthenticationHelper userAuthenticationHelper, IUserDataFormatter userDataFormatter, IPasswordUpdateCommandHelper passwordUpdateCommandHelper, IExecutionDurationRandomizerScopeManager executionDurationRandomizerScopeManager ) { _userAuthenticationHelper = userAuthenticationHelper; _logger = logger; _dbContext = dbContext; _domainRepository = domainRepository; _userAreaDefinitionRepository = userAreaDefinitionRepository; _userDataFormatter = userDataFormatter; _passwordUpdateCommandHelper = passwordUpdateCommandHelper; _executionDurationRandomizerScopeManager = executionDurationRandomizerScopeManager; }
public UpdateCurrentUserPasswordCommandHandler( CofoundryDbContext dbContext, IDomainRepository domainRepository, UserAuthenticationHelper userAuthenticationHelper, IPermissionValidationService permissionValidationService, IUserAreaDefinitionRepository userAreaRepository, IPasswordUpdateCommandHelper passwordUpdateCommandHelper, IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper, IUserContextCache userContextCache, IPasswordPolicyService newPasswordValidationService, IMessageAggregator messageAggregator ) { _dbContext = dbContext; _domainRepository = domainRepository; _userAuthenticationHelper = userAuthenticationHelper; _permissionValidationService = permissionValidationService; _userAreaRepository = userAreaRepository; _passwordUpdateCommandHelper = passwordUpdateCommandHelper; _userSecurityStampUpdateHelper = userSecurityStampUpdateHelper; _userContextCache = userContextCache; _newPasswordValidationService = newPasswordValidationService; _messageAggregator = messageAggregator; }