UserKeyService

Functions

Link copied to clipboard
abstract suspend fun delete(userKey: UserKey, forceDelete: Boolean = false)

Delete user key from local storage and also remotely from Server. By default, if failed to delete from server, local storage will not be deleted, by providing forceDelete to true, it will also delete local keys if server call is failed.

Link copied to clipboard
abstract fun getAll(): List<UserKey>

Get all the user keys in device.

Link copied to clipboard
abstract fun getKeyStatus(userId: String?): KeyFoundStatus

Fetch the key existence status in device.