public AddUserWithTemporaryPasswordCommandHandler(
     CofoundryDbContext dbContext,
     ICommandExecutor commandExecutor,
     IPasswordGenerationService passwordGenerationService,
     IMailService mailService,
     IQueryExecutor queryExecutor,
     IUserMailTemplateBuilderContextFactory userMailTemplateBuilderContextFactory,
     IUserMailTemplateBuilderFactory userMailTemplateBuilderFactory,
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     ITransactionScopeManager transactionScopeFactory,
     IUserDataFormatter userDataFormatter,
     IPasswordPolicyService passwordPolicyService
     )
 {
     _dbContext                             = dbContext;
     _commandExecutor                       = commandExecutor;
     _passwordGenerationService             = passwordGenerationService;
     _mailService                           = mailService;
     _queryExecutor                         = queryExecutor;
     _userMailTemplateBuilderContextFactory = userMailTemplateBuilderContextFactory;
     _userMailTemplateBuilderFactory        = userMailTemplateBuilderFactory;
     _userAreaDefinitionRepository          = userAreaDefinitionRepository;
     _transactionScopeFactory               = transactionScopeFactory;
     _userDataFormatter                     = userDataFormatter;
     _passwordPolicyService                 = passwordPolicyService;
 }
Ejemplo n.º 2
0
 public CompleteUserAccountRecoveryViaEmailCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     IPasswordUpdateCommandHelper passwordUpdateCommandHelper,
     IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper,
     IUserContextCache userContextCache,
     IPasswordPolicyService newPasswordValidationService,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                     = dbContext;
     _domainRepository              = domainRepository;
     _userAreaDefinitionRepository  = userAreaDefinitionRepository;
     _passwordUpdateCommandHelper   = passwordUpdateCommandHelper;
     _userSecurityStampUpdateHelper = userSecurityStampUpdateHelper;
     _userContextCache              = userContextCache;
     _newPasswordValidationService  = newPasswordValidationService;
     _messageAggregator             = messageAggregator;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 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;
 }
 public GetPasswordPolicyDescriptionByUserAreaCodeQueryHandler(
     IPasswordPolicyService newPasswordValidationService
     )
 {
     _newPasswordValidationService = newPasswordValidationService;
 }