UsersClient class
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
-
authenticate(String email, String password)
→ Future<Response>
-
Authenticates an user in the service using
email
and password
override
-
changeServiceConnection(bool https, String host, String port)
→ void
-
bool https
indicates if the client will use http or https
String host
the host of the service
String port
the port used by the service
override
-
createAuthenticate(String name, String email, String password)
→ Future<Response>
-
Creates and authenticates a user in the service with the arguments
name
, email
and password
override
-
createUser(String name, String email, String password)
→ Future<Response>
-
Creates a user in the service with the arguments
name
, email
and
password
override
-
deleteUser(String email, String jwt)
→ Future<Response>
-
Deletes the user according the
email
and jwt
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
recoverPassword(String email)
→ Future<Response>
-
Sends a new password to the
email
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateEmail(String email, String newEmail, String jwt)
→ Future<Response>
-
Updates the user
email
to newEmail
override
-
updatePassword(String email, String password, String newPassword, String jwt)
→ Future<Response>
-
Changes the user's password in the service using
email
, password
,
newPassword
and jwt
override