IdentitySpecificationTestBase<TUser, TRole, TKey>
IdentitySpecificationTestBase()
AddRoleStore(IServiceCollection, Object)
AddUserToRoleFailsIfAlreadyInRole()
AddUserToRolesIgnoresDuplicates()
BadValidatorBlocksCreateRole()
BadValidatorBlocksRoleUpdate()
CanAddRemoveRoleClaim()
CanAddUsersToRole()
CanChainRoleValidators()
CanCreateRoleTest()
CanDeleteRole()
CanFindRoleByNameWithManager()
CanFindRoleWithManager()
CanGetRolesForUser()
CanGetUsersInRole()
CanQueryableRoles()
CanRemoveUsersFromRole()
CanRoleFindById()
CanRoleFindByName()
CanUpdateRoleName()
CreateRoleFailsIfExists()
CreateRoleManager(Object, IServiceCollection)
CreateTestRole(String, Boolean)
RemoveUserFromRoleWithMultipleRoles()
RemoveUserNotInRoleFails()
RoleNameEqualsPredicate(String)
RoleNameStartsWithPredicate(String)
SetupBuilder(IServiceCollection, Object)
SetupIdentityServices(IServiceCollection, Object)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Identity.Test
{
public abstract class IdentitySpecificationTestBase<TUser, TRole, TKey> : UserManagerSpecificationTestBase<TUser, TKey>
where TUser, class
where TRole, class
where TKey, IEquatable<TKey>
{
protected override IdentityBuilder SetupBuilder(IServiceCollection services, object context);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.AspNetCore.Identity.Specification.Tests , Version=5.0.17.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Identity.Specification.Tests (5.0.17) net5.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API