Tom Molesworth
and 1 contributors

is_logged_in

Returns the session if we are logged in.

create_session

Create a new user login session, recording the activity in the audit log and applying to the current auth cookie.

delete_session

Remove all session information, including browser cookies, to log out the currently-active user.