|
Apache::Wyrd::User - Abstract user object |
Apache::Wyrd::User - Abstract user object
use BASENAME::User;
my $user = BASENAME::User->new(
{
username => 'fingers',
password => 'caged whale'
}
);
return AUTHORIZATION_REQUIRED unless (
$user->auth('elucidated bretheren of the ebon night')
);
Provides an object for the storage of user and user-authorization information.
(format: (returns) name (arguments after self))
foo ([anything]) (AUTOLOAD)new (hashref)store (void)revive, will re-make the user object.
Meant to store the user object in the Apache notes table, but could just as well
be used in a file or other medium.
revive (scalar)stored user.
login_ok (void)get_authorization (void)auth (scalar)username (void)password (void)is (scalar)
UNKNOWN
Barry King <wyrd@nospam.wyrdwright.com>
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
|
Apache::Wyrd::User - Abstract user object |