63 references to Password
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
SqlStoreTestBase.cs (4)
35options.Password.RequireDigit = false; 36options.Password.RequireLowercase = false; 37options.Password.RequireNonAlphanumeric = false; 38options.Password.RequireUppercase = false;
UserStoreEncryptPersonalDataTest.cs (4)
23options.Password.RequireDigit = false; 24options.Password.RequireLowercase = false; 25options.Password.RequireNonAlphanumeric = false; 26options.Password.RequireUppercase = false;
Microsoft.AspNetCore.Identity.InMemory.Test (3)
FunctionalTest.cs (3)
34options.Password.RequireUppercase = false; 35options.Password.RequireNonAlphanumeric = false; 36options.Password.RequireDigit = false;
Microsoft.AspNetCore.Identity.Specification.Tests (8)
IdentitySpecificationTestBase.cs (4)
46options.Password.RequireDigit = false; 47options.Password.RequireLowercase = false; 48options.Password.RequireNonAlphanumeric = false; 49options.Password.RequireUppercase = false;
UserManagerSpecificationTests.cs (4)
59options.Password.RequireDigit = false; 60options.Password.RequireLowercase = false; 61options.Password.RequireNonAlphanumeric = false; 62options.Password.RequireUppercase = false;
Microsoft.AspNetCore.Identity.Test (43)
IdentityOptionsTest.cs (13)
21Assert.True(options.Password.RequireDigit); 22Assert.True(options.Password.RequireLowercase); 23Assert.True(options.Password.RequireNonAlphanumeric); 24Assert.True(options.Password.RequireUppercase); 25Assert.Equal(6, options.Password.RequiredLength); 26Assert.Equal(1, options.Password.RequiredUniqueChars); 40var services = new ServiceCollection().Configure<IdentityOptions>(options => options.Password.RequiredLength = -1); 49Assert.True(myOptions.Password.RequireLowercase); 50Assert.True(myOptions.Password.RequireDigit); 51Assert.True(myOptions.Password.RequireNonAlphanumeric); 52Assert.True(myOptions.Password.RequireUppercase); 53Assert.Equal(1, myOptions.Password.RequiredUniqueChars); 54Assert.Equal(-1, myOptions.Password.RequiredLength);
PasswordValidatorTest.cs (30)
40manager.Options.Password.RequireUppercase = false; 41manager.Options.Password.RequireNonAlphanumeric = false; 42manager.Options.Password.RequireLowercase = false; 43manager.Options.Password.RequireDigit = false; 54manager.Options.Password.RequireUppercase = false; 55manager.Options.Password.RequireNonAlphanumeric = false; 56manager.Options.Password.RequireLowercase = false; 57manager.Options.Password.RequireDigit = false; 68manager.Options.Password.RequireUppercase = false; 69manager.Options.Password.RequireNonAlphanumeric = true; 70manager.Options.Password.RequireLowercase = false; 71manager.Options.Password.RequireDigit = false; 72manager.Options.Password.RequiredLength = 0; 85manager.Options.Password.RequireUppercase = false; 86manager.Options.Password.RequireNonAlphanumeric = true; 87manager.Options.Password.RequireLowercase = false; 88manager.Options.Password.RequireDigit = false; 89manager.Options.Password.RequiredLength = 0; 101manager.Options.Password.RequireUppercase = false; 102manager.Options.Password.RequireNonAlphanumeric = false; 103manager.Options.Password.RequireLowercase = false; 104manager.Options.Password.RequireDigit = false; 105manager.Options.Password.RequiredLength = 0; 106manager.Options.Password.RequiredUniqueChars = uniqueChars; 122manager.Options.Password.RequireUppercase = false; 123manager.Options.Password.RequireNonAlphanumeric = false; 124manager.Options.Password.RequireLowercase = false; 125manager.Options.Password.RequireDigit = false; 126manager.Options.Password.RequiredLength = 0; 127manager.Options.Password.RequiredUniqueChars = uniqueChars;
Microsoft.Extensions.Identity.Core (1)
PasswordValidator.cs (1)
44var options = manager.Options.Password;