6 references to RemovePasskeyAsync
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (2)
678
IdentityResultAssert.IsSuccess(await manager.
RemovePasskeyAsync
(user, passkey.CredentialId));
682
IdentityResultAssert.IsSuccess(await manager.
RemovePasskeyAsync
(user, passkey.CredentialId));
Microsoft.AspNetCore.Identity.Test (4)
UserManagerTest.cs (4)
856
var result = await userManager.
RemovePasskeyAsync
(user, credentialId);
1378
await Assert.ThrowsAsync<ArgumentNullException>("credentialId", async () => await manager.
RemovePasskeyAsync
(new PocoUser(), null));
1487
async () => await manager.
RemovePasskeyAsync
(null, null));
1531
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
RemovePasskeyAsync
(null, null));