public ResetUserPasswordCommandHandler(
     CofoundryDbContext dbContext,
     IMailService mailService,
     IDomainRepository domainRepository,
     IUserMailTemplateBuilderContextFactory userMailTemplateBuilderContextFactory,
     IUserMailTemplateBuilderFactory userMailTemplateBuilderFactory,
     IPermissionValidationService permissionValidationService,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     IPasswordCryptographyService passwordCryptographyService,
     IPasswordGenerationService passwordGenerationService,
     IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper,
     IUserContextCache userContextCache,
     IUserSummaryMapper userSummaryMapper,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext        = dbContext;
     _mailService      = mailService;
     _domainRepository = domainRepository;
     _userMailTemplateBuilderContextFactory = userMailTemplateBuilderContextFactory;
     _userMailTemplateBuilderFactory        = userMailTemplateBuilderFactory;
     _permissionValidationService           = permissionValidationService;
     _userCommandPermissionsHelper          = userCommandPermissionsHelper;
     _userAreaDefinitionRepository          = userAreaDefinitionRepository;
     _passwordCryptographyService           = passwordCryptographyService;
     _passwordGenerationService             = passwordGenerationService;
     _userSecurityStampUpdateHelper         = userSecurityStampUpdateHelper;
     _userContextCache  = userContextCache;
     _userSummaryMapper = userSummaryMapper;
     _messageAggregator = messageAggregator;
 }
예제 #2
0
 public DeleteUserCommandHandler(
     CofoundryDbContext dbContext,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IPermissionValidationService permissionValidationService
     )
 {
     _dbContext = dbContext;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _permissionValidationService  = permissionValidationService;
 }
 public DeleteRoleCommandHandler(
     CofoundryDbContext dbContext,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IRoleCache roleCache,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext = dbContext;
     _roleCache = roleCache;
     _transactionScopeFactory = transactionScopeFactory;
 }
예제 #4
0
 public UpdateUserCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserAreaDefinitionRepository userAreaRepository,
     IPermissionValidationService permissionValidationService
     )
 {
     _queryExecutor = queryExecutor;
     _dbContext     = dbContext;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _userAreaRepository           = userAreaRepository;
     _permissionValidationService  = permissionValidationService;
 }
 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;
 }
예제 #6
0
 public AddUserCommandHandler(
     CofoundryDbContext dbContext,
     IQueryExecutor queryExecutor,
     IPasswordCryptographyService passwordCryptographyService,
     IPasswordGenerationService passwordGenerationService,
     IMailService mailService,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IPermissionValidationService permissionValidationService,
     IUserAreaDefinitionRepository userAreaRepository
     )
 {
     _dbContext     = dbContext;
     _queryExecutor = queryExecutor;
     _passwordCryptographyService = passwordCryptographyService;
     _mailService = mailService;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _permissionValidationService  = permissionValidationService;
     _userAreaRepository           = userAreaRepository;
     _passwordGenerationService    = passwordGenerationService;
 }
예제 #7
0
 public AddUserCommandHandler(
     CofoundryDbContext dbContext,
     IPasswordCryptographyService passwordCryptographyService,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserAreaDefinitionRepository userAreaRepository,
     IUserUpdateCommandHelper userUpdateCommandHelper,
     IPasswordPolicyService newPasswordValidationService,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     ISecurityStampGenerator securityStampGenerator
     )
 {
     _dbContext = dbContext;
     _passwordCryptographyService  = passwordCryptographyService;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _userAreaRepository           = userAreaRepository;
     _userUpdateCommandHelper      = userUpdateCommandHelper;
     _newPasswordValidationService = newPasswordValidationService;
     _transactionScopeFactory      = transactionScopeFactory;
     _messageAggregator            = messageAggregator;
     _securityStampGenerator       = securityStampGenerator;
 }
예제 #8
0
 public UpdateUserPasswordByUserIdCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     IUserAreaDefinitionRepository userAreaRepository,
     IPasswordUpdateCommandHelper passwordUpdateCommandHelper,
     IPermissionValidationService permissionValidationService,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper,
     IUserContextCache userContextCache,
     IPasswordPolicyService newPasswordValidationService,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                     = dbContext;
     _domainRepository              = domainRepository;
     _userAreaRepository            = userAreaRepository;
     _passwordUpdateCommandHelper   = passwordUpdateCommandHelper;
     _permissionValidationService   = permissionValidationService;
     _userCommandPermissionsHelper  = userCommandPermissionsHelper;
     _userSecurityStampUpdateHelper = userSecurityStampUpdateHelper;
     _userContextCache              = userContextCache;
     _newPasswordValidationService  = newPasswordValidationService;
     _messageAggregator             = messageAggregator;
 }