Keyless.retrieveDataForBackup
method or the deprecated Keyless.shared.retrieveDataForBackup
method. You can store the backup data and backup key to let users restore their account with Keyless.String
) and backupKey (type: String
) are required to restore an account with Keyless. Save the Keyless backup in a secure data store.backupData
and backupKey
that was saved when the current user was enrolled. You can invoke the Keyless.enrollFromBackup(backupData: String, backupKey: String)
method or the deprecated Keyless.shared.enrollFromBackup(backupData: String, backupKey: String)
method to let the user restore their Keyless data and enroll from backup.Keyless.shared.enrollCustomToken
when Keyless.shared.enrollFromBackup
finishes, the enrollmentDidFinish: keylessID: enrollmentResponse: error:
delegate method gets called. In case of errors, prompt the user to try again.