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