1 implementation of IPasswordValidator
Microsoft.Extensions.Identity.Core (1)
PasswordValidator.cs (1)
16public class PasswordValidator<TUser> : IPasswordValidator<TUser> where TUser : class
13 references to IPasswordValidator
Microsoft.AspNetCore.Identity (3)
AspNetUserManager.cs (2)
26/// <param name="passwordValidators">A collection of <see cref="IPasswordValidator{TUser}"/> to validate passwords against.</param> 35IEnumerable<IPasswordValidator<TUser>> passwordValidators,
IdentityServiceCollectionExtensions.cs (1)
95services.TryAddScoped<IPasswordValidator<TUser>, PasswordValidator<TUser>>();
Microsoft.Extensions.Identity.Core (10)
IdentityBuilder.cs (2)
111/// Adds an <see cref="IPasswordValidator{TUser}"/> for the <see cref="UserType"/>. 117=> AddScoped(typeof(IPasswordValidator<>).MakeGenericType(UserType), typeof(TValidator));
IdentityServiceCollectionExtensions.cs (1)
42services.TryAddScoped<IPasswordValidator<TUser>, PasswordValidator<TUser>>();
UserManager.cs (7)
66/// <param name="passwordValidators">A collection of <see cref="IPasswordValidator{TUser}"/> to validate passwords against.</param> 75IEnumerable<IPasswordValidator<TUser>> passwordValidators, 101foreach (var v in passwordValidators) 164/// The <see cref="IPasswordValidator{TUser}"/> used to validate passwords. 166public IList<IPasswordValidator<TUser>> PasswordValidators { get; } = new List<IPasswordValidator<TUser>>(); 2946foreach (var v in PasswordValidators)