26 references to PasswordValidators
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\MockHelpers.cs (1)
20mgr.Object.PasswordValidators.Add(new PasswordValidator<TUser>());
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\MockHelpers.cs (1)
20mgr.Object.PasswordValidators.Add(new PasswordValidator<TUser>());
Microsoft.AspNetCore.Identity.Specification.Tests (17)
UserManagerSpecificationTests.cs (17)
180manager.PasswordValidators.Clear(); 181manager.PasswordValidators.Add(new EmptyBadValidator()); 438manager.PasswordValidators.Clear(); 439manager.PasswordValidators.Add(new AlwaysBadValidator()); 453manager.PasswordValidators.Clear(); 454manager.PasswordValidators.Add(new EmptyBadValidator()); 455manager.PasswordValidators.Add(new AlwaysBadValidator()); 473manager.PasswordValidators.Clear(); 474manager.PasswordValidators.Add(new AlwaysBadValidator()); 487manager.PasswordValidators.Clear(); 488manager.PasswordValidators.Add(new AlwaysBadValidator()); 510manager.PasswordValidators.Add(new AlwaysBadValidator()); 526manager.PasswordValidators.Clear(); 527manager.PasswordValidators.Add(new AlwaysBadValidator()); 542manager.PasswordValidators.Clear(); 543manager.PasswordValidators.Add(new AlwaysBadValidator()); 1025manager.PasswordValidators.Add(new AlwaysBadValidator());
Microsoft.AspNetCore.Identity.Test (5)
src\Identity\test\Shared\MockHelpers.cs (1)
20mgr.Object.PasswordValidators.Add(new PasswordValidator<TUser>());
UserManagerTest.cs (4)
986manager.PasswordValidators.Clear(); 987manager.PasswordValidators.Add(new BadPasswordValidator<PocoUser>(true)); 996manager.PasswordValidators.Clear(); 997manager.PasswordValidators.Add(new BadPasswordValidator<PocoUser>());
Microsoft.Extensions.Identity.Core (2)
UserManager.cs (2)
98PasswordValidators.Add(v); 2341foreach (var v in PasswordValidators)