X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FRealm.pm;h=21fc307fe9f29ecc8c9bb4bc7048dad64865d6f2;hb=9667182406030a650e1799b6856b8fda9f7b715c;hp=25994b4b7994ca4e462213dd6340d603fbfd0f8d;hpb=5cd1efd698265f77e3f58428f228142098eece83;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Authentication/Realm.pm b/lib/Catalyst/Authentication/Realm.pm index 25994b4..21fc307 100644 --- a/lib/Catalyst/Authentication/Realm.pm +++ b/lib/Catalyst/Authentication/Realm.pm @@ -299,6 +299,22 @@ marked as originating in the current realm. Calls $store->for_session() by default. If for_session is not available in the store class, will attempt to call $user->for_session(). +=head2 persist_user($c, $user) + +Takes the user data and persists it in the sessi.on + +=head2 remove_persisted_user($c) + +Removes any persisted user data in the session. + +=head2 restore_user($c, [$frozen_user]) + +Restores the user from parameter, or the session by default. + +=head2 user_is_restorable( $c ) + +Predicate to tell you if the current session has restorable user data. + =head2 from_session($c, $frozenuser ) Triggers restoring of the user from data in the session. The default realm