getRegisteredAuthenticators
Used to get an array of authenticators registered for a specific user.
getRegisteredAuthenticators(profileId: string): Promise<Authenticator[]>
| Property | Type | Description |
|---|---|---|
| profileId | string | The profile for which you want to get the registered authenticatorrs |
Example
OneWelcomeSdk.getRegisteredAuthenticators(profileId)
.then(authenticators => {
console.log('getRegisteredAuthenticators succeed: ', authenticators)
})
.catch(error => {
console.log('getRegisteredAuthenticators failed!: ', error.message)
})
Success
| Property | Type | Description |
|---|---|---|
| authenticators | Authenticator[] | List of registered authenticators |