name
clear password (will be hashed & compared to the DB entry)
The models.User, or false if the authentication failed
Deletes an user, but only if it doesn't have any entries.
Fetches a user
ID
Fetches a user
name
Fetches users
Refreshes various models that cache user name and/or title. Call this after changing the name or title of an user.
Registers a new user
name
unencrypted password (will be hashed before storage)
the created user, or an error message
Search users by name
a fragment of the user name.
the users with names matching the query.
Note: all searches will be case-sensitive if developing with SQLite.
Sets a password to a User
User model
New password, in clear form
true, or an error message
true or an error message
Validates the given password
true, or an error message
Generated using TypeDoc
Authenticates against a user name and password, and updates the session accordingly