← Back to WebAuthn domain
WebAuthn.addVirtualAuthenticator
Creates and adds a virtual authenticator.
Domain: WebAuthn
experimental
Parameters
| Name | Type | Description |
options | VirtualAuthenticatorOptions | |
Returns
| Name | Type | Description |
authenticatorId | AuthenticatorId | |
Example Request
{
"id": 1,
"method": "WebAuthn.addVirtualAuthenticator",
"params": {
"options": "options-value"
}
}
Example Response
{
"id": 1,
"result": {
"authenticatorId": "authenticatorId-value"
}
}
Usage in Node.js
const result = await send('WebAuthn.addVirtualAuthenticator', {"options": "options-value"});
console.log(result);
// {"authenticatorId": "authenticatorId-value"}