User class

Provides access to methods for managing users.

Constructors

User([APIVersion version = APIVersion.v1])
Contructs object to access user management methods.

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

changePassword(String password, String newPassword, String accessToken) Future<void>
Changes a user password.
confirmForgotPass(String userName, String password, String verificationCode) Future<void>
Handles forgotten password request.
confirmUser(String userName, String verifCode) Future<void>
Confirms a new user.
createUser(String userName, String password) Future<void>
Creates a new user.
extendSession(String userName, String refreshToken) Future<ExtendSuccessResponse>
Extends a session.
getUser(String accessToken) Future<UserData>
Gets data associated with a user.
login(String userName, String password) Future<LoginSuccessResponse>
Handle a login of an existing user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reqForgotPass(String userName) Future<void>
Initiates a forgotten password flow.
setName(String name, String accessToken) Future<void>
Updates the name of the user.
toString() String
A string representation of this object.
inherited

Operators

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