UserApi class

Constructors

UserApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
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 healthcarePartyId) Future<UserDto?>
Assign a healthcare party ID to current user
assignHealthcarePartyWithHttpInfo(String healthcarePartyId) Future<Response>
Assign a healthcare party ID to current user
checkPassword(String password) Future<bool?>
Parameters:
checkPasswordWithHttpInfo(String password) Future<Response>
Performs an HTTP 'GET /rest/v1/user/checkPassword' operation and returns the Response. Parameters:
checkTokenValidity(String userId, String token) Future<bool?>
Check token validity
checkTokenValidityWithHttpInfo(String userId, String token) Future<Response>
Check token validity
createUser(UserDto userDto) Future<UserDto?>
Create a user
createUserInGroup(String groupId, UserDto userDto) Future<UserDto?>
Create a user
createUserInGroupWithHttpInfo(String groupId, UserDto userDto) Future<Response>
Create a user
createUserWithHttpInfo(UserDto userDto) Future<Response>
Create a user
deleteUser(String userId) Future<DocIdentifier?>
Delete a User based on his/her ID.
deleteUserInGroup(String groupId, String userId) Future<Object?>
Delete a User based on his/her ID.
deleteUserInGroupWithHttpInfo(String groupId, String userId) Future<Response>
Delete a User based on his/her ID.
deleteUserWithHttpInfo(String userId) Future<Response>
Delete a User based on his/her ID.
encodePassword(String password) Future<String?>
Parameters:
encodePasswordWithHttpInfo(String password) Future<Response>
Performs an HTTP 'GET /rest/v1/user/encodePassword' operation and returns the Response. Parameters:
filterUsersBy(FilterChain<UserDto> filterChainUser, {String? startDocumentId, int? limit}) Future<PaginatedListUserDto?>
Filter users for the current user (HcParty)
filterUsersByWithHttpInfo(FilterChain<UserDto> filterChainUser, {String? startDocumentId, int? limit}) Future<Response>
Filter users for the current user (HcParty)
findByHcpartyId(String id) Future<List<String>?>
Get the list of users by healthcare party id
findByHcpartyIdWithHttpInfo(String id) Future<Response>
Get the list of users by healthcare party id
forgottenPassword(String email, EmailTemplateDto emailTemplateDto) Future<bool?>
Send a forgotten email message to an user
forgottenPasswordWithHttpInfo(String email, EmailTemplateDto emailTemplateDto) Future<Response>
Send a forgotten email message to an user
getCurrentSession() Future<String?>
Get Currently logged-in user session.
getCurrentSessionWithHttpInfo() Future<Response>
Get Currently logged-in user session.
getCurrentUser() Future<UserDto?>
Get presently logged-in user.
getCurrentUserWithHttpInfo() Future<Response>
Get presently logged-in user.
getMatchingUsers() Future<List<UserGroupDto>?>
Get presently logged-in user.
getMatchingUsersWithHttpInfo() Future<Response>
Get presently logged-in user.
getToken(String userId, String key, {int? tokenValidity}) Future<String?>
Request a new temporary token for authentication
getTokenWithHttpInfo(String userId, String key, {int? tokenValidity}) Future<Response>
Request a new temporary token for authentication
getUser(String userId) Future<UserDto?>
Get a user by his ID
getUserByEmail(String email) Future<UserDto?>
Get a user by his Email/Login
getUserByEmailWithHttpInfo(String email) Future<Response>
Get a user by his Email/Login
getUserWithHttpInfo(String userId) Future<Response>
Get a user by his ID
listUsersBy({String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListUserDto?>
List users with(out) pagination
listUsersByWithHttpInfo({String? startKey, String? startDocumentId, int? limit}) Future<Response>
List users with(out) pagination
listUsersInGroup(String groupId, {String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListUserDto?>
List users with(out) pagination
listUsersInGroupWithHttpInfo(String groupId, {String? startKey, String? startDocumentId, int? limit}) Future<Response>
List users with(out) pagination
matchUsersBy(AbstractFilterDto<UserDto> abstractFilterDtoUser) Future<List<String>?>
Get ids of healthcare party matching the provided filter for the current user (HcParty)
matchUsersByWithHttpInfo(AbstractFilterDto<UserDto> abstractFilterDtoUser) Future<Response>
Get ids of healthcare party matching the provided filter for the current user (HcParty)
modifyProperties(String userId, {List<PropertyStubDto>? propertyStubDto}) Future<UserDto?>
Modify a User property
modifyPropertiesWithHttpInfo(String userId, {List<PropertyStubDto>? propertyStubDto}) Future<Response>
Modify a User property
modifyUser(UserDto userDto) Future<UserDto?>
Modify a user.
modifyUserInGroup(String groupId, UserDto userDto) Future<UserDto?>
Modify a user.
modifyUserInGroupWithHttpInfo(String groupId, UserDto userDto) Future<Response>
Modify a user.
modifyUserWithHttpInfo(UserDto userDto) Future<Response>
Modify a user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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