Previous Topic: API DetailsNext Topic: Store Accounts in Memory


Choose Custom Storage Medium

CA Auth ID OTP library enables you to store the accounts in a location of your choice. For this you have to implement the Store interface to define the storage medium, and then set that as default.

Perform the following steps to set up a custom storage:

  1. Implement the Store interface to use the custom storage.
  2. Invoke the setStore() method in the API class to initialize the storage medium.