UserUCInterface class abstract

Implementers

Constructors

UserUCInterface()

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
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
createAuthenticate(String name, String email, String password) Future<Response>
Creates and authenticates a user in the service with the arguments name, email and password
createUser(String name, String email, String password) Future<Response>
Creates a user in the service with the arguments name, email and password
deleteUser(String email, String jwt) Future<Response>
Deletes the user according the email and jwt
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
toString() String
A string representation of this object.
inherited
updateEmail(String email, String newEmail, String jwt) Future<Response>
Updates the user email to newEmail
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

Operators

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