
Catalyst::Plugin::Auth::Utils - Methods and actions to simplify authentication

use Catalyst qw/
HTML::Widget
Authentication
Authentication::Store::DBIC
Authentication::Credential::Password
Auth::Utils
/;
# in your Controller::Root.pm
sub auto : ActionClass('Auth::Check') {
$_[1]->stash->{login_action} = 'login';
}
sub login : Local : ActionClass('Auth::Login') {}
sub logout : Local : ActionClass('Auth::Logout') {}

Methods and actions to simplify authentication

Returns a HTML::Widget object filled with login and password fields to be used in login forms.
This method redirects to the login action unless an authenticated user is found

Catalyst, HTML::Widget, Catalyst::Plugin::HTML::Widget

Zbigniew Lukasiak> zz bb yy @ gmail.com
Jonas Alves, jonas.alves at gmail.com

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.