Administrator login, logout and authentication using the ono_auth_asid cookie. Note that this feature seems to be DEPRECATED, it may be removed soon.
The main ONO platform authentication logic, using the ono_auth_sid_v2107 cookie (latest version as of July 2021).
This handles login, logout and authentication, it provides basic user info and keeps statistics up to date.
Generate an ONO SID (Session ID), combining the username with a random string, and store it in the user's data directory.
Check if we're using a mobile device.
ONO Admin and Desk authentication, also supporting IP based access limitations via /etc/security/onoaccess.conf.
Replace the current username with the currently selected user the sudoer wishes to impersonate.