AddRoles should not be adding a store, that's done by the store implementation, it should only be registering the role services. Also fixed the TUser/TRole generic parameters names since they were actually the store types |
||
|---|---|---|
| .. | ||
| ApiConsistencyTest.cs | ||
| IdentityBuilderTest.cs | ||
| IdentityOptionsTest.cs | ||
| IdentityResultTest.cs | ||
| Microsoft.AspNetCore.Identity.Test.csproj | ||
| NoopRoleStore.cs | ||
| NoopUserStore.cs | ||
| PasswordHasherTest.cs | ||
| PasswordValidatorTest.cs | ||
| PrincipalExtensionsTest.cs | ||
| RoleManagerTest.cs | ||
| RoleValidatorTest.cs | ||
| SecurityStampValidatorTest.cs | ||
| SignInManagerTest.cs | ||
| UserClaimsPrincipalFactoryTest.cs | ||
| UserManagerTest.cs | ||
| UserValidatorTest.cs | ||