← Back to WebAuthn domain

WebAuthn.setUserVerified

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

Domain: WebAuthn experimental

Parameters

NameTypeDescription
authenticatorIdAuthenticatorId
isUserVerifiedboolean

Example Request

{
  "id": 1,
  "method": "WebAuthn.setUserVerified",
  "params": {
    "authenticatorId": "authenticatorId-value",
    "isUserVerified": true
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('WebAuthn.setUserVerified', {"authenticatorId": "authenticatorId-value", "isUserVerified": true});
console.log(result);