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.

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.

Creates a login cookie.

SEE ALSO

Apache::Onanox