示例#1
0
 /// <summary>
 /// Creates a new instance of <see cref="RoleValidator{TRole}"/>.
 /// </summary>
 /// <param name="errors">The <see cref="IdentityErrorDescriber"/> used to provider error messages.</param>
 public RoleValidator(IdentityErrorDescriber errors = null)
 {
     Describer = errors ?? new IdentityErrorDescriber();
 }
示例#2
0
 public IdentityEmailUserManager(IUserStore <TUser> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <TUser> passwordHasher, IEnumerable <IUserValidator <TUser> > userValidators, IEnumerable <IPasswordValidator <TUser> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <TUser> > logger)
     : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
 {
 }