[Catalyst-commits] r7823 - in
trunk/Catalyst-Plugin-Authentication/lib/Catalyst:
Authentication Plugin
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Tue May 27 21:28:58 BST 2008
Author: t0m
Date: 2008-05-27 21:28:58 +0100 (Tue, 27 May 2008)
New Revision: 7823
Modified:
trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Authentication/Realm.pm
trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm
Log:
Add some stubby docs to make the POD Coverage test happy
Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Authentication/Realm.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Authentication/Realm.pm 2008-05-27 18:27:16 UTC (rev 7822)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Authentication/Realm.pm 2008-05-27 20:28:58 UTC (rev 7823)
@@ -299,6 +299,22 @@
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
Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm 2008-05-27 18:27:16 UTC (rev 7822)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication.pm 2008-05-27 20:28:58 UTC (rev 7823)
@@ -903,6 +903,10 @@
Retrieves the realm instance for the realmname provided.
+=head2 $c->update_user_in_session
+
+This was a short lived method to update user information - you should use persist_user instead.
+
=head1 SEE ALSO
This list might not be up to date. Below are modules known to work with the updated
More information about the Catalyst-commits
mailing list