Protected constructor to enforce singleton usage via getInstance.
Protected
Readonly
Ban a user globally with an optional reason.
ID of the user to ban
Optional ban reason
Updated User record or null
Create a new user with username, email and password.
Desired username
User email
Password (should be pre-hashed)
Newly created User record or null
Optional
Find user by email address.
Email to look up
The User record or null when not found
Find user by numeric id.
User id to look up
Unban a user globally.
ID of the user to unban
Update user's bio/description.
ID of the user
New user description
Update user's email address.
New email address
Update user's password (hashed).
New password (should be pre-hashed)
Update user's profile banner.
New banner URL or identifier
Update user's profile picture (avatar).
New avatar URL or identifier
Update user's username.
New username
Protected constructor to enforce singleton usage via getInstance.