NAME
Apache::Onanox::User::Authentication
ABSTRACT
Authentication via cookies and login form.
METHODS
new
Simple constructor.
parameters
Gets the parameters.
user
Returns authenticated username.
authorised
Authorised user or guest user.
authenticate
Do authentication.
auth_user
Return a user object, either of the authenticated user, or of the guest user.
cookie_login
Checks for a login cookie, and validates user details from that.
do_login
Checks username and password, sets cookie.
do_logout
Logs out a user.
create_cookie
Creates a login cookie.