executeAccountMigrationWithSDKPin

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. For SDK_PIN_WITH_BIOMETRICS_OPTIONAL this operation is unprotected and unlocks the SDK upon success.

Parameters

callback

to get notified about success or failure of this operation.

sdkPin

the pin that the accounts were previously enrolled with.

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.