CGI-Application-Plugin-Authentication
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
POST_LOGIN_CALLBACK
A code reference that is executed after login processing but before
POST_LOGIN_RUNMODE or redirecting to POST_LOGIN_URL. This is
normally a method in your CGI::Application application and as such
the CGI::Application object is passed as a parameter.
POST_LOGIN_CALLBACK => \&update_login_date
and later in your code:
sub update_login_date {
my $self = shift;
return unless($self->authen->is_authenticated);
...
}
LOGIN_RUNMODE
Here you can specify a runmode that the user will be redirected to
if they need to login.
lib/CGI/Application/Plugin/Authentication.pm view on Meta::CPAN
=item POST_LOGIN_CALLBACK
A code reference that is executed after login processing but before POST_LOGIN_RUNMODE or
redirecting to POST_LOGIN_URL. This is normally a method in your CGI::Application application
and as such the CGI::Application object is passed as a parameter.
POST_LOGIN_CALLBACK => \&update_login_date
and later in your code:
sub update_login_date {
my $self = shift;
return unless($self->authen->is_authenticated);
...
}
=item LOGIN_RUNMODE
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.491 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )