NAME
Contentment::Security::Profile - Contentment security profile interface
DESCRIPTION
This class documents the interface for profile classes. Profiles are used to store information particular to a user.
A profile object must define at least the following methods:
- $profile->username
-
This should return a unique string username for the profile or
undef
if no username is associated with the profile. - $profile->full_name
-
This should return the name the user want's to be known as.
- $profile->email_address
-
This is the email address the user wishes to be identified with.
- $profile->web_site
-
This is the web site the user wishes to be identified with.
- $profile->information
-
This should return a reference to a hash that store's a user's personal information.
- $profile->preferences
-
This should return a reference to a hash that store's a user's configuration preferences.
AUTHOR
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
Contentment is licensed and distributed under the same terms as Perl itself.