Catalyst::Authentication::User - Base class for user objects.
use base qw/Catalyst::Authentication::User/;
This is the base class for authentication user objects.
THIS IS NOT A COMPLETE CLASS! it is intended to provide base functionality only.
It provides the base methods listed below, and any additional methods are proxied onto the user object fetched from the underlieing store.
Please read the comments in the source code of this class to work out which methods you should override.
A unique ID by which a user can be retrieved from the store.
Should return a class name that can be used to refetch the user using it's ID.
An introspection method used to determine what features a user object has, to support credential and authorization plugins.
Returns the value for the $field provided.
Returns the underlying object storing the user data. The return value of this method will vary depending on the storage module used.
Shorthand for get_object( )
Delegates any unknown methods onto the user object returned by ->obj
To install Catalyst::Plugin::Authentication, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.