Default Storage Client
Data Access Object which implements StorageClient interface and uses SecureSharedPreferences from forgerock-core SDK to store and load Accounts, Mechanisms and Notifications.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private val ORG_FORGEROCK_SHARED_PREFERENCES_DATA_ACCOUNT: String = "org.forgerock.android.authenticator.DATA.ACCOUNT"
Link copied to clipboard
private val ORG_FORGEROCK_SHARED_PREFERENCES_DATA_MECHANISM: String = "org.forgerock.android.authenticator.DATA.MECHANISM"
Link copied to clipboard
private val ORG_FORGEROCK_SHARED_PREFERENCES_DATA_NOTIFICATIONS: String = "org.forgerock.android.authenticator.DATA.NOTIFICATIONS"
Link copied to clipboard
private val ORG_FORGEROCK_SHARED_PREFERENCES_KEYS: String = "org.forgerock.android.authenticator.KEYS"
Functions
Link copied to clipboard
Get the Account object with its id
Link copied to clipboard
Get all accounts stored in the system.
Link copied to clipboard
Get all mechanisms stored in the system.
Link copied to clipboard
Get all notifications from the storage system.
Link copied to clipboard
Get all notifications for within the mechanism.
Link copied to clipboard
Get the mechanism by UUID.
Link copied to clipboard
Get the mechanisms associated with an account.
Link copied to clipboard
Get the PushNotification object with its id
Link copied to clipboard
Delete the Account that was passed in.
Link copied to clipboard
Link copied to clipboard
Delete the mechanism uniquely identified by an id.
Link copied to clipboard
Delete the pushNotification uniquely identified by an id.
Link copied to clipboard
Add or Update the Account to the storage system.
Link copied to clipboard
Link copied to clipboard
Add or update the mechanism to the storage system.
Link copied to clipboard
Link copied to clipboard
Add or update the pushNotification to the storage system.
Link copied to clipboard