[Catalyst-commits] r7049 - in trunk/Catalyst-Plugin-Authentication: . lib/Catalyst/Plugin/Authentication lib/Catalyst/Plugin/Authentication/Realm

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Wed Oct 24 20:45:54 GMT 2007


Author: bricas
Date: 2007-10-24 20:45:53 +0100 (Wed, 24 Oct 2007)
New Revision: 7049

Modified:
   trunk/Catalyst-Plugin-Authentication/Changes
   trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm.pm
   trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm/Compatibility.pm
Log:
changes update plus some stub docs

Modified: trunk/Catalyst-Plugin-Authentication/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Changes	2007-10-23 22:09:58 UTC (rev 7048)
+++ trunk/Catalyst-Plugin-Authentication/Changes	2007-10-24 19:45:53 UTC (rev 7049)
@@ -2,6 +2,8 @@
 
 0.10003 2007-XX-XX
         - Added a "Null" store for credentials that don't require real stores.
+        - Make realms bonafide objects
+        - Added auto_update and auto_create options to the Realm object
 
 0.10002 2007-07-22
         - $user->store() should NOT be set by C::P::Auth - if it's needed - it

Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm/Compatibility.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm/Compatibility.pm	2007-10-23 22:09:58 UTC (rev 7048)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm/Compatibility.pm	2007-10-24 19:45:53 UTC (rev 7049)
@@ -2,9 +2,9 @@
 
 use strict;
 use warnings;
+
 use base qw/Catalyst::Plugin::Authentication::Realm/;
 
-
 ## very funky - the problem here is that we can't do real realm initialization
 ## but we need a real realm object to function.  So - we kinda fake it - we 
 ## create an empty object - 
@@ -21,4 +21,26 @@
 
 __PACKAGE__;
 
-__END__
\ No newline at end of file
+__END__
+
+=pod
+
+=head1 NAME
+
+Catalyst::Plugin::Authentication::Realm::Compatibility - Compatibility realm object
+
+=head1 DESCRIPTION
+
+An empty realm object for compatibility reasons.
+
+=head1 METHODS
+
+=over 4
+
+=item new
+
+Returns a, basically empty, realm object.
+
+=back
+
+=cut

Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm.pm	2007-10-23 22:09:58 UTC (rev 7048)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Realm.pm	2007-10-24 19:45:53 UTC (rev 7049)
@@ -2,6 +2,7 @@
 
 use strict;
 use warnings;
+
 use base qw/Class::Accessor::Fast/;
 
 BEGIN {
@@ -136,3 +137,31 @@
 __PACKAGE__;
 
 __END__
+
+=pod
+
+=head1 NAME
+
+Catalyst::Plugin::Authentication::Realm - Base class for realm objects.
+
+=head1 DESCRIPTION
+
+=head1 METHODS
+
+=over 4
+
+=item new
+
+=item find_user
+
+=item authenticate
+
+=item save_user_in_session
+
+=item from_session
+
+=back
+
+=cut
+
+




More information about the Catalyst-commits mailing list