executeAccountMigration

Execute Account Migration. This is a protected operation, so the SDK must be unlocked before calling this method, for the BIOMETRICS_ONLY and BIOMETRICS_OR_DEVICE_CREDENTIALS lock configuration types.

Parameters

callback

to get notified about success or failure of this operation.

Throws

if the SDK is locked.

if the SDK is unable to retrieve the necessary encrypted tokens for this operation.

if the device already has at least one enrolled account.

if accounts have been previously enrolled on this SDK installation.

if no accounts are eligible for migration.

if the Account Migration fails due to missing SDK pin. Use executeAccountMigrationWithSDKPin instead.

if the SKD does not have the necessary secret tokens to perform Account Migration.

if the Account Migration request gets rejected by the server.