Exemplo n.º 1
0
 public LogSuccessfulAuthenticationCommandHandler(
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService
     )
 {
     _userStoredProcedures    = userStoredProcedures;
     _clientConnectionService = clientConnectionService;
 }
 public HasExceededMaxAuthenticationAttemptsQueryHandler(
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService,
     IUserAreaDefinitionRepository userAreaDefinitionRepository
     )
 {
     _userStoredProcedures         = userStoredProcedures;
     _clientConnectionService      = clientConnectionService;
     _userAreaDefinitionRepository = userAreaDefinitionRepository;
 }
 public LogFailedAuthenticationAttemptCommandHandler(
     IDomainRepository domainRepository,
     IUserStoredProcedures userStoredProcedures,
     IClientConnectionService clientConnectionService,
     IMessageAggregator messageAggregator
     )
 {
     _domainRepository        = domainRepository;
     _userStoredProcedures    = userStoredProcedures;
     _clientConnectionService = clientConnectionService;
     _messageAggregator       = messageAggregator;
 }
 public UserUpdateCommandHelper(
     IUserAreaDefinitionRepository userAreaRepository,
     IUserDataFormatter userDataFormatter,
     IUserStoredProcedures userStoredProcedures,
     IMessageAggregator messageAggregator,
     IEmailAddressValidator emailAddressValidator,
     IUsernameValidator usernameValidator
     )
 {
     _userAreaRepository    = userAreaRepository;
     _userDataFormatter     = userDataFormatter;
     _userStoredProcedures  = userStoredProcedures;
     _messageAggregator     = messageAggregator;
     _emailAddressValidator = emailAddressValidator;
     _usernameValidator     = usernameValidator;
 }
 public DeleteUserCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     IUserStoredProcedures userStoredProcedures,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IPermissionValidationService permissionValidationService,
     IUserContextCache userContextCache,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                    = dbContext;
     _domainRepository             = domainRepository;
     _userStoredProcedures         = userStoredProcedures;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _permissionValidationService  = permissionValidationService;
     _userContextCache             = userContextCache;
     _messageAggregator            = messageAggregator;
 }
 public CleanupUsersCommandHandler(
     IUserStoredProcedures userStoredProcedures
     )
 {
     _userStoredProcedures = userStoredProcedures;
 }