Enrollments and Verifications
#
Retrieving Work ItemsOne of the primary Imageware Authenticate and the Imageware Authenticate Mobile SDK use cases is to perform user enrollments and verifications. In the Imageware Authenticate Mobile SDK these are referred to as "work items". Retrieve these work items using the MessagesServiceManager
.
note
registered to the active device.#
In order to retrieve alerts or enrollments, you'll need to have the profileTo capture the work items, call the renderNextWorkItemIfNeeded
function detailed below:
- iOS
- Android
important
If the user account gets 404s during this call, they have been deleted from the Authenticate service and are removed from the internal profile list.
- iOS
- Android
When rendering an alert, register the appropriate base UI class with the MessagesServiceManager
, as illustrated below.
Implement an InteractionManagerDelegate
to listen for interaction callbacks, such as completion or rejection of alerts.
When rendering an alert, pass a context and listener, as shown below.
listener
is an implemented InteractionManagerListener
to listen for interaction callbacks, such as completion or rejection of alerts.
For simplicity of implementation, we typically roll the InteractionManagerDelegate/Listener
into our ViewModel class as shown below.
- iOS
- Android
To see this registration, rendering and callback work in action, check out the example apps.
#
Getting Work Item CountYou can get the current count of active alerts and enrollments using the appropriate members of the MessagesServiceManager
.
- iOS
- Android
#
Enrollments OverviewYou can grab the list of enrollments for a profile using the enrolls
member of the MessagesServiceManager
. Enrollment
objects can be useful for displaying the user's current status, and potentially work items that they need to complete.
note
#
The SDK will not allow users to verify biometrics they haven't enrolled. For example, an alert that allows the user to choose between face, voice, and PIN will not allow the user to continue with voice if they haven't enrolled voice. Because of this, it can be useful to require users to complete all enrollments before allowing them to get alerts.- iOS
- Android