Mango::Catalyst::Plugin::Authentication::CachedUser - Cached Custom Catalyst Authentication User
use Catalyst qw/ -Debug ConfigLoader +Mango::Catalyst::Plugin::Authentication Static::Simple /; my $user = $c->user; print $user->cart->count;
Mango::Catalyst::Plugin::Authentication::CachedUser is a custom authentication user that has been restored from the current users session.
Returns a list containing the names of all of the roles the current user belongs to. This method is used by Catalyst::Plugin::Authorization::Roles.
These roles are loaded from the current users session and cached locally.
See Catalyst::Plugin::Authentication for the usage of this method.
Returns an anonymous hash containing the following options:
roles => 1, profiles => 1, carts => 1
Catalyst::Plugin::Authentication, Mango::User, Mango::Profile, Mango::Cart, Mango::Catalyst::Plugin::Authentication::Store Mango::Catalyst::Plugin::Authentication::User Mango::Catalyst::Plugin::Authentication::CachedUser Mango::Catalyst::Plugin::Authentication::AnonymousUser
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.