setUserVerified method

Future<void> setUserVerified(
  1. AuthenticatorId authenticatorId,
  2. bool isUserVerified
)

Sets whether User Verification succeeds or fails for an authenticator. The default is true.

Implementation

Future<void> setUserVerified(
    AuthenticatorId authenticatorId, bool isUserVerified) async {
  await _client.send('WebAuthn.setUserVerified', {
    'authenticatorId': authenticatorId,
    'isUserVerified': isUserVerified,
  });
}