WebAuthn.setAutomaticPresenceSimulationSets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true.
| Name | Type | Description |
|---|---|---|
authenticatorId | AuthenticatorId | |
enabled | boolean |
{
"id": 1,
"method": "WebAuthn.setAutomaticPresenceSimulation",
"params": {
"authenticatorId": "authenticatorId-value",
"enabled": true
}
}
{
"id": 1,
"result": {}
}
const result = await send('WebAuthn.setAutomaticPresenceSimulation', {"authenticatorId": "authenticatorId-value", "enabled": true});
console.log(result);