WebAuthn.setCredentialPropertiesAllows setting credential properties. https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
| Name | Type | Description |
|---|---|---|
authenticatorId | AuthenticatorId | |
credentialId | string | |
backupEligibility (optional) | boolean | |
backupState (optional) | boolean |
{
"id": 1,
"method": "WebAuthn.setCredentialProperties",
"params": {
"authenticatorId": "authenticatorId-value",
"credentialId": "credentialId-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('WebAuthn.setCredentialProperties', {"authenticatorId": "authenticatorId-value", "credentialId": "credentialId-value"});
console.log(result);