Catalyst::Authentication::Realm - Base class for realm objects.
By default this class is used by Catalyst::Plugin::Authentication for all realms. The class parameter allows you to choose a different class to use for this realm. Creating a new Realm class can allow for authentication methods that fall outside the normal credential/store methodology.
Set this to true if you wish this realm to auto-create user accounts when the user doesn't exist (most useful for remote authentication schemes).
Set this to true if you wish this realm to auto-update user accounts after authentication (most useful for remote authentication schemes).
Instantiantes this realm, plus the specified store and credential classes.
Returns an instance of the store object for this realm.
Returns an instance of the credential object for this realm.
Retrieves the user given the authentication information provided. This is most often called from the credential. The default realm class simply delegates this call the store object. If enabled, auto-creation and auto-updating of users is also handled here.
Performs the authentication process for the current realm. The default realm class simply delegates this to the credential and sets the authenticated user on success. Returns the authenticated user object;
Used to save the user in a session. Saves $user in the current session, marked as originating in the current realm. Calls $store->for_session() by default. If for_session is not available in the store class, will attempt to call $user->for_session().
Triggers restoring of the user from data in the session. The default realm class simply delegates the call to $store->from_session($c, $frozenuser);
1 POD Error
The following errors were encountered while parsing the POD:
Unknown directive: =head
To install Catalyst::Plugin::Authentication, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Authentication
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Authentication
For more information on module installation, please visit the detailed CPAN module installation guide.