Previous Topic: Choose Custom Storage MediumNext Topic: Read CA Auth ID OTP Account Details


Store Accounts in Memory

CA Auth ID OTP library provides a sample implementation for storing the accounts in device memory.

Note: The sample implementations that are provided with the CA Auth ID OTP library must be used for reference only.

Perform the following steps to store accounts in memory:

  1. Invoke the MemoryStore class to use memory as a storage medium.
  2. Invoke the setStore() method in the OTP class to initialize the storage medium.