AccountModule class

Module managing user profile and credential updates.

Constructors

AccountModule(SpJwtAuth auth)
Creates a new AccountModule.

Properties

auth → SpJwtAuth
The underlying authentication client.
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

changePassword({required String currentPassword, required String newPassword}) → Future<void>
Changes the user password given currentPassword and newPassword.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
profile() → Future<Map<String, dynamic>>
Retrieves the current user profile.
toString() → String
A string representation of this object.
inherited
updateProfile(Map<String, dynamic> data) → Future<Map<String, dynamic>>
Updates profile attributes for the current user.

Operators

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