5 writes to RequiredLength
Microsoft.AspNetCore.Identity.Test (5)
IdentityOptionsTest.cs (1)
40var services = new ServiceCollection().Configure<IdentityOptions>(options => options.Password.RequiredLength = -1);
PasswordValidatorTest.cs (4)
72manager.Options.Password.RequiredLength = 0; 89manager.Options.Password.RequiredLength = 0; 105manager.Options.Password.RequiredLength = 0; 126manager.Options.Password.RequiredLength = 0;
4 references to RequiredLength
Microsoft.AspNetCore.Identity.Test (2)
IdentityOptionsTest.cs (2)
25Assert.Equal(6, options.Password.RequiredLength); 54Assert.Equal(-1, myOptions.Password.RequiredLength);
Microsoft.Extensions.Identity.Core (2)
PasswordValidator.cs (2)
46if (string.IsNullOrWhiteSpace(password) || password.Length < options.RequiredLength) 49errors.Add(Describer.PasswordTooShort(options.RequiredLength));