NAME
Apache::Chameleon::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.
run
Do authentication.
auth_user
Return a user object, either of the authenticated user, or of the guest user.
try_cookie_login
Checks for a login cookie, and validates user details from that.
try_login
Checks username and password, sets cookie.
try_logout
Logs out a user.
_create_cookie
Creates a login cookie.