To fetch the accounts from the default storage, you need to use the API class. This class provides different options to read accounts as mentioned in the following table:
|
Method |
Description |
|
|---|---|---|
|
getAccount() |
Fetches the account based on the account identifier that is passed as an input. Use the getId() method to fetch the account identifier. This method is described later in this document. |
|
|
getAllAccounts() |
Fetches all the accounts that are present on the device. Note: You can also fetch accounts based on the ArcotID OTP namespace. To do this, pass the namespace as an input parameter to the getAllAccounts() method. This method fetches all the accounts whose domains match the namespace passed to the method. For example, if you pass ARCOT.COM as a namespace to the method, then it returns accounts belonging to ARCOT.COM, A.ARCOT.COM, B.ARCOT.COM, and so on. |
|
|
|
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|