Catalyst-Plugin-Authentication

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Authentication.pm  view on Meta::CPAN

105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
        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 )