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