4 references to AddClaimsAsync
Microsoft.AspNetCore.Identity.Test (3)
UserManagerTest.cs (3)
514
var result = await userManager.
AddClaimsAsync
(user, claims);
1032
await Assert.ThrowsAsync<ArgumentNullException>("claims", async () => await manager.
AddClaimsAsync
(null, null));
1152
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
AddClaimsAsync
(null, null));
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
993
return
AddClaimsAsync
(user, new Claim[] { claim });