removeCredential method

Future<void> removeCredential(
  1. AuthenticatorId authenticatorId,
  2. String credentialId
)

Removes a credential from the authenticator.

Implementation

Future<void> removeCredential(
    AuthenticatorId authenticatorId, String credentialId) async {
  await _client.send('WebAuthn.removeCredential', {
    'authenticatorId': authenticatorId,
    'credentialId': credentialId,
  });
}