website logo
⌘K
Getting Started
Use Cases
Secure, Passwordless Login via Standard Protocols (OIDC, SAML2)
BlokSec for MFA / 2FA
Adding Passwordless Login to your In-House / Custom Application
BlokSec yuID Authenticator App
BlokSec Admin Console
FAQ's
Integrations
Microsoft 0365
Google Workspace
Salesforce
Dropbox
CyberArk Privileged Access Manager
IBM Security Verify
Custom OIDC
Custom SAML2
BlokSec SDK Integration (iOS)
Compatibility
Dependencies
Prerequisites
SDK Usage (Initialise)
New User Registration
Authentication
Account Association
Restore/Backup
API Reference
Docs powered by archbee 
1min

Restore/Backup

This feature facilitates restore of all the accounts when you switch to new device or need to reset or restore the device (e.g., in the case of a lost phone)

Backup

To back up the user’s root account information, use the below method. It requires you to send a PIN / passphrase. This PIN is important as it is used to encrypt the data being saved to the output QR code and is therefore required during the restore process. Please provide clear instructions to the user not to forget this PIN / passphrase, and to keep the QR code in a safe place.

This method returns QR Code in form of UIImage. Save this QR Code securely. Without it, the user will not be able to restore their account(s) and would have to re-register.

BlokSec.shared?.createBackupQRCode(..)

Restore

To restore the user, scan (or load from photos) the QR code that was generated during backup. Use below method to restore the account by passing the data extracted from QR code along with the passphrase and the device Token:

BlokSec.shared?.restoreFromQRCode(...)

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
API Reference
Docs powered by archbee