Users
The user service.
This class allows performing user related actions such as, given a string, searching for those that contain some field that matches it.
Parameters
rx
Access to the reactive API of the service.
Functions
Link copied to clipboard
Adds a listener to receive user events.
Link copied to clipboard
fun getUserByUri(userUri: String, onCompletion: (Either<User, SippoResourceError>) -> Unit)
Content copied to clipboard
Searches for the user who have an Uri that matches the specified userUri.
Link copied to clipboard
fun getUsersBy(identifier: String, onCompletion: (Either<List<User>, SippoResourceError>) -> Unit)
Content copied to clipboard
Searches for users who have any field that matches the specified identifier.
Link copied to clipboard
Removes the specified listener.