← Back to WebAuthn domain

WebAuthn.setResponseOverrideBits

Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.

Domain: WebAuthn experimental

Parameters

NameTypeDescription
authenticatorIdAuthenticatorId
isBogusSignature (optional)booleanIf isBogusSignature is set, overrides the signature in the authenticator response to be zero. Defaults to false.
isBadUV (optional)booleanIf isBadUV is set, overrides the UV bit in the flags in the authenticator response to be zero. Defaults to false.
isBadUP (optional)booleanIf isBadUP is set, overrides the UP bit in the flags in the authenticator response to be zero. Defaults to false.

Example Request

{
  "id": 1,
  "method": "WebAuthn.setResponseOverrideBits",
  "params": {
    "authenticatorId": "authenticatorId-value"
  }
}

Example Response

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

Usage in Node.js

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