A type representing storage, where already registered users will be kept between app launches.
By default this SDK uses a concrete implementation of this interface RoomUserStorage.
Methods of this interface must not be called outside of the SDK, as they are intended to be only for internal usage.
Keep in mind, that this interface doesn’t provide any data encryption and developers should take care of this by themselves.
Adds a registered user to the user storage
user - registered user.
Deletes a registered user from the user storage
user - The registered user to delete.
Returns all users from the user storage.
abstract fun loadStorage():
Prepares the user storage to be used.
Called once on initialization of the SDK.
Checks whether there is a user with the same Id in the user storage.
userId - Id to check for
Return True if the user already exists in the storage, False otherwise.