stub docs for auto_create_user and auto_update_user
Brian Cassidy [Wed, 24 Oct 2007 20:40:29 +0000 (20:40 +0000)]
Changes
lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm

diff --git a/Changes b/Changes
index 5c7f3d6..d810017 100644 (file)
--- a/Changes
+++ b/Changes
@@ -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
index 989bba2..193490b 100644 (file)
@@ -4,14 +4,12 @@ use strict;
 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 @@ sub user_supports {
     $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 @@ Currently treats $frozenuser as an id and retrieves a user with a matching id.
 
 Provides information about what the user object supports.  
 
+=item auto_update_user
+
+=item auto_create_user
+
 =back 
 
 =head1 NOTES