Catalyst::Authentication::User - Base class for user objects.
package MyStore::User;
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