LocalDeviceBindingRepository

internal class LocalDeviceBindingRepository(context: Context, val sharedPreferences: SharedPreferences = EncryptedPreferences.getInstance(context, ORG_FORGEROCK_V_1_DEVICE_REPO)) : DeviceBindingRepository

Helper class to save and retrieve EncryptedMessage

Constructors

Link copied to clipboard
constructor(context: Context, sharedPreferences: SharedPreferences = EncryptedPreferences.getInstance(context, ORG_FORGEROCK_V_1_DEVICE_REPO))

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun delete(userKey: UserKey)
Link copied to clipboard
open suspend override fun getAllKeys(): List<UserKey>
Link copied to clipboard
open suspend override fun persist(userKey: UserKey)

Persist the data in encrypted shared preference