15 references to AddIdentity
Microsoft.AspNetCore.Identity (1)
IdentityServiceCollectionExtensions.cs (1)
35
=> services.
AddIdentity
<TUser, TRole>(setupAction: null!);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
CustomSchemaTest.cs (1)
26
.
AddIdentity
<IdentityUser, IdentityRole>(o =>
EmptySchemaTest.cs (1)
26
.
AddIdentity
<IdentityUser, IdentityRole>(o =>
MaxKeyLengthSchemaTest.cs (1)
27
.
AddIdentity
<IdentityUser, IdentityRole>(o => o.Stores.MaxLengthForKeys = 128)
UserStoreEncryptPersonalDataTest.cs (3)
20
services.
AddIdentity
<IdentityUser, IdentityRole>(options =>
183
services.
AddIdentity
<CustomUser, IdentityRole>(options =>
280
services.
AddIdentity
<CustomUser, IdentityRole>(options =>
VersionOneSchemaTest.cs (1)
26
.
AddIdentity
<IdentityUser, IdentityRole>(o =>
VersionTwoSchemaTest.cs (1)
26
.
AddIdentity
<IdentityUser, IdentityRole>(o =>
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
44
services.
AddIdentity
<TUser, TRole>(options =>
Microsoft.AspNetCore.Identity.Test (5)
IdentityOptionsTest.cs (1)
61
services.
AddIdentity
<PocoUser, PocoRole>(options => options.User.RequireUniqueEmail = true);
UserManagerTest.cs (4)
796
services.
AddIdentity
<PocoUser, PocoRole>(o => o.Tokens.ProviderMap.Add("A", new TokenProviderDescriptor(typeof(ATokenProvider))
809
services.
AddIdentity
<PocoUser, PocoRole>(o => o.Stores.ProtectPersonalData = true)
820
services.
AddIdentity
<PocoUser, PocoRole>(o => o.Stores.ProtectPersonalData = true)
893
services.
AddIdentity
<PocoUser, PocoRole>(o => o.Tokens.ProviderMap.Add(TokenOptions.DefaultProvider, new TokenProviderDescriptor(typeof(ATokenProvider))