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