showMfaCredentials
client.showMfaCredentials({ container: HTMLElement|id, accessToken: string })
Description
Shows the widget where you can list all MFA second factor credentials.
For more on MFA as a whole, see our dedicated Multi-factor Authentication guide. |
Examples
const accessToken = // Here paste the authorization token of the profile retrieved after login
client.showMfaCredentials({
container: 'mfa-container',
accessToken,
onReady: instance => {
// Destroy the widget
// if (...) instance.destroy()
},
theme: {
primaryColor: '#274890',
borderRadius: '#374890'
}
})
Parameters
The DOM element or the |
|
The authorization credential JSON Web Token (JWT) used to access the ReachFive API, less than five minutes old. |