[Catalyst-commits] r7053 - in trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class: . lib/Catalyst/Plugin/Authentication/Store/DBIx

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Wed Oct 24 21:40:29 GMT 2007


Author: bricas
Date: 2007-10-24 21:40:29 +0100 (Wed, 24 Oct 2007)
New Revision: 7053

Modified:
   trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Changes
   trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm
Log:
stub docs for auto_create_user and auto_update_user

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Changes
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Changes	2007-10-24 20:37:08 UTC (rev 7052)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/Changes	2007-10-24 20:40:29 UTC (rev 7053)
@@ -1,5 +1,8 @@
 Revision history for Catalyst-Plugin-Authentication-Store-DBIx-Class
 
+0.11    2007-XX-XX
+        Implemented basic auto_update_user and auto_create_user support
+
 0.10    2007-07-07 3pm CST
         Proper handling of missing id_field config (load from primary_key)
         Throw exception if id_field specified does not exist

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm	2007-10-24 20:37:08 UTC (rev 7052)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIx-Class/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm	2007-10-24 20:40:29 UTC (rev 7053)
@@ -4,14 +4,12 @@
 use warnings;
 use base qw/Class::Accessor::Fast/;
 
-our $VERSION= "0.10";
+our $VERSION= "0.11";
 
-
 BEGIN {
     __PACKAGE__->mk_accessors(qw/config/);
 }
 
-
 sub new {
     my ( $class, $config, $app ) = @_;
 
@@ -71,13 +69,13 @@
     $self->config->{'store_user_class'}->supports( @_ );
 }
 
-sub auto_create {
+sub auto_create_user {
     my( $self, $authinfo, $c ) = @_;
     my $res = $self->config->{'store_user_class'}->new($self->{'config'}, $c);
     return $res->auto_create( $authinfo, $c );
 }
 
-sub auto_update {
+sub auto_update_user {
     my( $self, $authinfo, $c, $res ) = @_;
     $res->auto_update( $authinfo, $c );
     return $res;
@@ -413,6 +411,10 @@
 
 Provides information about what the user object supports.  
 
+=item auto_update_user
+
+=item auto_create_user
+
 =back 
 
 =head1 NOTES




More information about the Catalyst-commits mailing list