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