public CustomPasswordValidator(IdentityErrorDescriber errors, Func <ISecurityRepository> repositoryFactory, IPasswordHasher <ApplicationUser> passwordHasher, IOptions <PasswordOptionsExtended> passwordOptions)
            : base(errors)

        {
            _repositoryFactory = repositoryFactory;
            _passwordHasher    = passwordHasher;
            _passwordOptions   = passwordOptions.Value;
        }
 public CustomUserManager(IUserStore <ApplicationUser> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <ApplicationUser> passwordHasher, IUserPasswordHasher userPasswordHasher,
                          IOptions <UserOptionsExtended> userOptionsExtended,
                          IEnumerable <IUserValidator <ApplicationUser> > userValidators, IEnumerable <IPasswordValidator <ApplicationUser> > passwordValidators,
                          ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services,
                          ILogger <UserManager <ApplicationUser> > logger, RoleManager <Role> roleManager, IPlatformMemoryCache memoryCache, IEventPublisher eventPublisher, Func <ISecurityRepository> repositoryFactory, IOptions <PasswordOptionsExtended> passwordOptionsExtended)
     : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
 {
     _memoryCache             = memoryCache;
     _roleManager             = roleManager;
     _eventPublisher          = eventPublisher;
     _userPasswordHasher      = userPasswordHasher;
     _userOptionsExtended     = userOptionsExtended.Value;
     _repositoryFactory       = repositoryFactory;
     _passwordOptionsExtended = passwordOptionsExtended.Value;
 }