showWebAuthnDevices
client.showWebAuthnDevices({ container: HTMLElement|id, accessToken: string, // Optional arguments theme: object, i18n: object })
Description
Show the widget allowing to manage the user’s registered FIDO2 devices.
|
Examples
const accessToken = // Here paste the authorization token of the profile retrieved after login
client.showWebAuthnDevices({
container: 'webauthn-devices-container',
accessToken,
theme: { primaryColor: '#274890' }
})
Parameters
The DOM element or the |
|||||||||
The authorization credential JSON Web Token (JWT) used to access the ReachFive API, less than five minutes old. |
|||||||||
The options to set up to customize the appearance of the widget. Below is an example of some of the theme attributes. For a full list, see theme attributes.
|
|||||||||
Widget labels and error messages to override. Falls back to the default wordings in
|
theme
attributes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|