2 writes to RequiredUniqueChars
Microsoft.AspNetCore.Identity.Test (2)
PasswordValidatorTest.cs (2)
106manager.Options.Password.RequiredUniqueChars = uniqueChars; 127manager.Options.Password.RequiredUniqueChars = uniqueChars;
5 references to RequiredUniqueChars
Microsoft.AspNetCore.Identity.Test (2)
IdentityOptionsTest.cs (2)
26Assert.Equal(1, options.Password.RequiredUniqueChars); 53Assert.Equal(1, myOptions.Password.RequiredUniqueChars);
Microsoft.Extensions.Identity.Core (3)
PasswordValidator.cs (3)
71if (options.RequiredUniqueChars >= 1 && password.Distinct().Count() < options.RequiredUniqueChars) 74errors.Add(Describer.PasswordRequiresUniqueChars(options.RequiredUniqueChars));