UsersApi class

Constructors

UsersApi(Dio _dio, Serializers _serializers)
const

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

createUser({CreateUserRequest? createUserRequest, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<CreateUserResponse>>
Create User Creates a user record and optionally zero or more identities for the user. An example identity could be the email address of the user.
deleteUser({required String id, bool? isDeleteProfile, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SuccessResponse>>
Delete User Delete a user record.
getUserData({required String id, String? expand, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<User>>
Get User Retrieve a user record.
getUsers({String? sort, int? pageSize, String? userId, String? nextToken, String? email, String? expand, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<UsersResponse>>
List Users The returned list can be sorted by full name or email address in ascending or descending order. The number of records to return at a time can also be controlled using the `page_size` query string parameter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshUserClaims({required String userId, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<SuccessResponse>>
Refresh User Claims and Invalidate Cache Refreshes the user's claims and invalidates the current cache.
toString() String
A string representation of this object.
inherited
updateUser({required UpdateUserRequest updateUserRequest, String? id, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<UpdateUserResponse>>
Update User Update a user record.

Operators

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