UserPlatformApi class

Constructors

UserPlatformApi(MethodChannel _methodChannel)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

assignHealthcareParty(String sdkId, String healthcarePartyId) Future<User>
createAdminUser(String sdkId, User user) Future<User>
createAdminUserInGroup(String sdkId, String groupId, User user) Future<User>
createUser(String sdkId, User user) Future<User>
createUserInGroup(String sdkId, String groupId, User user) Future<User>
deleteUser(String sdkId, User user) Future<DocIdentifier>
deleteUserById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deleteUserInGroup(String sdkId, String groupId, User user) Future<DocIdentifier>
deleteUserInGroupById(String sdkId, String groupId, String entityId, String rev) Future<DocIdentifier>
disable2faForUser(String sdkId, String userId) Future<void>
disable2faForUserWithGroup(String sdkId, String userId, String groupId) Future<void>
enable2faForUser(String sdkId, String userId, Enable2faRequest request) Future<void>
enable2faForUserWithGroup(String sdkId, String userId, String groupId, Enable2faRequest request) Future<void>
filterUsersBy(String sdkId, BaseFilterOptions<User> filter) Future<PaginatedListIterator<User>>
filterUsersBySorted(String sdkId, BaseSortableFilterOptions<User> filter) Future<PaginatedListIterator<User>>
filterUsersInGroupBy(String sdkId, String groupId, BaseFilterOptions<User> filter) Future<PaginatedListIterator<User>>
filterUsersInGroupBySorted(String sdkId, String groupId, BaseSortableFilterOptions<User> filter) Future<PaginatedListIterator<User>>
findByHcpartyId(String sdkId, String id) Future<List<String>>
findByPatientId(String sdkId, String id) Future<List<String>>
getCurrentUser(String sdkId) Future<User>
getMatchingUsers(String sdkId) Future<List<UserGroup>>
getToken(String sdkId, String userId, String key, int? tokenValidity, String? token) Future<String>
getTokenInAllGroups(String sdkId, String userIdentifier, String key, String? token, int? tokenValidity) Future<List<TokenWithGroup>>
getTokenInGroup(String sdkId, String groupId, String userId, String key, String? token, int? tokenValidity) Future<String>
getUser(String sdkId, String userId) Future<User>
getUserByEmail(String sdkId, String email) Future<User>
getUserByPhoneNumber(String sdkId, String phoneNumber) Future<User>
getUsers(String sdkId, List<String> userIds) Future<List<User>>
getUsersInGroup(String sdkId, String groupId, List<String> userIds) Future<List<User>>
matchUsersBy(String sdkId, BaseFilterOptions<User> filter) Future<List<String>>
matchUsersBySorted(String sdkId, BaseSortableFilterOptions<User> filter) Future<List<String>>
matchUsersInGroupBy(String sdkId, String groupId, BaseFilterOptions<User> filter) Future<List<String>>
matchUsersInGroupBySorted(String sdkId, String groupId, BaseSortableFilterOptions<User> filter) Future<List<String>>
modifyProperties(String sdkId, String userId, List<EncryptedPropertyStub>? properties) Future<User>
modifyUser(String sdkId, User user) Future<User>
modifyUserInGroup(String sdkId, String groupId, User user) Future<User>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeUser(String sdkId, User user) Future<void>
purgeUserById(String sdkId, String id, String rev) Future<void>
resetUserRoles(String sdkId, String userId) Future<User>
resetUserRolesInGroup(String sdkId, String userId, String groupId) Future<User>
setUserRoles(String sdkId, String userId, ListOfIds rolesId) Future<User>
setUserRolesInGroup(String sdkId, String userId, String groupId, ListOfIds rolesId) Future<User>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, FilterOptions<User> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<User>>
toString() String
A string representation of this object.
inherited
undeleteUser(String sdkId, User user) Future<User>
undeleteUserById(String sdkId, String id, String rev) Future<User>

Operators

operator ==(Object other) bool
The equality operator.
inherited