UserService class

Constructors

UserService()

Properties

hashCode int
The hash code for this object.
no setterinherited
loginStorage Future<LoginStorage>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEmailConfirmationURL(String identity) Future<String?>
describeUserClass() Future<List<UserProperty>?>
findById(String id) Future<BackendlessUser?>
findByRole(String roleName, {bool? loadRoles, DataQueryBuilder? queryBuilder}) Future<List<BackendlessUser>?>
getCurrentUser(bool reload) Future<BackendlessUser?>
getUserRoles() Future<List<String>?>
getUserToken() Future<String?>
handleUserLogin(Map? invokeResult, bool stayLoggedIn) Future<void>
isValidLogin() Future<bool>
loggedInUser() Future<String?>
login(String login, String password, {bool stayLoggedIn = false}) Future<BackendlessUser?>
loginAsGuest([bool stayLoggedIn = false]) Future<BackendlessUser?>
loginWithOAuth1(String providerCode, String authToken, String authTokenSecret, Map<String, String> fieldsMappings, {BackendlessUser? guestUser, bool stayLoggedIn = false}) Future<BackendlessUser?>
loginWithOauth2(String providerCode, String authToken, Map<String, String> fieldsMappings, {BackendlessUser? guestUser, bool stayLoggedIn = false}) Future<BackendlessUser?>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(BackendlessUser user) Future<BackendlessUser?>
removeUserToken() Future<void>
resendEmailConfirmation(String identity) Future<String?>
restorePassword(String identity) Future<void>
setCurrentUser(BackendlessUser user, {bool stayLoggedIn = false}) Future<void>
setUserToken(String userToken) Future<void>
toString() String
A string representation of this object.
inherited
update(BackendlessUser user) Future<BackendlessUser?>

Operators

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