Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst authentication framework.
use Catalyst qw/ Authentication Authentication::Store::Foo Authentication::Credential::Password /;
The authentication plugin is used by the various authentication and authorization plugins in catalyst.
It defines the notion of a logged in user, and provides integration with the Catalyst::Plugin::Session plugin,
Returns the currently logged user or undef if there is none.
Delete the currently logged in user from user and the session.
user
Delegate get_user to the default store.
get_user
Return the store whose name is 'default'.
This is set to <$c-config->{authentication}{store}>> if that value exists, or by using a Store plugin:
<$c-
use Catalyst qw/Authentication Authentication::Store::Minimal/;
Sets the default store to Catalyst::Plugin::Authentication::Store::Minimal::Backend.
Return the store whose name is $name.
Return the name of the store $store.
A hash keyed by name, with the stores registered in the app.
A ref-hash keyed by store, which contains the names of the stores.
Register stores into the application.
Marks a user as authenticated. Should be called from a Catalyst::Plugin::Authentication::Credential plugin after successful authentication.
Catalyst::Plugin::Authentication::Credential
This involves setting user and the internal data in session if Catalyst::Plugin::Session is loaded.
session
Used to restore a user from the session, by user only when it's actually needed.
Used to save the user in a session.
Revives a user from the session object if there is one.
Sets the default configuration parameters.
Whether or not to store the user's logged in state in the session, if the application is also using the Catalyst::Plugin::Authentication plugin.
Catalyst::Plugin::Authentication::Credential::Password, Catalyst::Plugin::Authentication::Store::Minimal, Catalyst::Plugin::Authorization::ACL, Catalyst::Plugin::Authorization::Roles.
Yuval Kogman, nothingmuch@woobling.org
nothingmuch@woobling.org
Copyright (c) 2005 the aforementioned authors. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
3 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
Expected text after =item, not a bullet
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.