UserKeyService
public protocol UserKeyService
-
Fetch the key existence status in device.
Declaration
Swift
func getKeyStatus(userId: String?) -> KeyFoundStatus
Parameters
userId
optional and received from server
-
Get all the user keys in device.
Declaration
Swift
func getAll() -> [UserKey]
-
Delete user key
Declaration
Swift
func delete(userKey: UserKey, forceDelete: Bool) throws