Catalyst-Plugin-Authentication
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/Authentication.pm view on Meta::CPAN
105106107108109110111112113114115116117118119120121122123124
my
$realm
=
$c
->get_auth_realm(
$c
->_user->auth_realm);
# used to call $realm->save_user_in_session
$realm
->persist_user(
$c
,
$c
->user);
}
}
## this was a short lived method to update user information -
## you should use persist_user instead.
sub
update_user_in_session {
my
$c
=
shift
;
return
$c
->persist_user;
}
sub
logout {
my
$c
=
shift
;
$c
->user(
undef
);
( run in 0.409 second using v1.01-cache-2.11-cpan-4e96b696675 )