addVirtualAuthenticator method

Future<AuthenticatorId> addVirtualAuthenticator(
  1. VirtualAuthenticatorOptions options
)

Creates and adds a virtual authenticator.

Implementation

Future<AuthenticatorId> addVirtualAuthenticator(
    VirtualAuthenticatorOptions options) async {
  var result = await _client.send('WebAuthn.addVirtualAuthenticator', {
    'options': options,
  });
  return AuthenticatorId.fromJson(result['authenticatorId'] as String);
}