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.

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.

Creates a login cookie.

SEE ALSO

Apache::Chameleon