WebAuthn.addCredentialAdds the credential to the specified authenticator.
| Name | Type | Description |
|---|---|---|
authenticatorId | AuthenticatorId | |
credential | Credential |
{
"id": 1,
"method": "WebAuthn.addCredential",
"params": {
"authenticatorId": "authenticatorId-value",
"credential": "credential-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('WebAuthn.addCredential', {"authenticatorId": "authenticatorId-value", "credential": "credential-value"});
console.log(result);