← Back to WebAuthn domain
WebAuthn.getCredentials
Returns all the credentials stored in the given virtual authenticator.
Domain: WebAuthn
experimental
Parameters
| Name | Type | Description |
authenticatorId | AuthenticatorId | |
Returns
| Name | Type | Description |
credentials | array | |
Example Request
{
"id": 1,
"method": "WebAuthn.getCredentials",
"params": {
"authenticatorId": "authenticatorId-value"
}
}
Example Response
{
"id": 1,
"result": {
"credentials": []
}
}
Usage in Node.js
const result = await send('WebAuthn.getCredentials', {"authenticatorId": "authenticatorId-value"});
console.log(result);
// {"credentials": []}