enroll
Enroll for mobile authentication
Authenticated users can enroll for mobile authentication, allowing them to execute mobile authentication with OTP. See the mobile authentication topic guide for more information on mobile authentication in general.
![copy link to clipboard](../../../../../theme/img/icon-link.svg)
onegini.mobileAuth.enroll
This function enrolls the currently logged in user for mobile authentication.
Example enrollment for a logged in user:
The error callback contains an object with the following properties:
Property | Example | Description |
---|---|---|
code |
8000 | The error code |
description |
"Onegini: Internal plugin error" | Human readable error description |