Account Management
Account management is a key part of the communicating with the Imageware Authenticate server. In order to perform secured tasks, the active device needs to be registered with an account.
#
Registering a DeviceUse the AccountServiceManager
to register devices as described below.
note
validate
call with the PIN as a parameter (see below).#
In the default setup, device registration triggers the server to send an email to the account so the user can confirm their device registration using PIN codes sent via email. You validate device registration by having the user enter the PIN and calling the - iOS
- Android
The register function will only register the current device's ID once. Subsequent register calls will make the server call but will not trigger a new email to be sent. To resend the email, call the function above with resendConfirmation
set to true.
#
Unregistering a DeviceRemoving a profile from a device is easy, just call AccountServiceManager
's remove
function as shown below.
- iOS
- Android
This call breaks the association between the device and the profile on the server, so if you re-register the user to the same device it will require the user to confirm their email again.