16 references to RemoveClaimAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (6)
UserStoreWithGenericsTest.cs (6)
113IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[0])); 116IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[1])); 119IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[2])); 140IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[0])); 143IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[1])); 146IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[2]));
Microsoft.AspNetCore.Identity.Specification.Tests (6)
UserManagerSpecificationTests.cs (6)
717IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[0])); 720IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[1])); 723IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[2])); 748IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[0])); 751IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[1])); 754IdentityResultAssert.IsSuccess(await manager.RemoveClaimAsync(user, claims[2]));
Microsoft.AspNetCore.Identity.Test (4)
UserManagerTest.cs (4)
664var result = await userManager.RemoveClaimAsync(user, claim); 765await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveClaimAsync(null, null)); 1075async () => await manager.RemoveClaimAsync(null, new Claim("a", "b"))); 1162await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.RemoveClaimAsync(null, null));