oops. Update code but not doc. my bad.
Jay Kuri [Mon, 27 Oct 2008 14:39:28 +0000 (14:39 +0000)]
lib/Catalyst/Authentication/Realm/SimpleDB.pm
lib/Catalyst/Authentication/Store/DBIx/Class.pm

index 91388b9..d4127e4 100644 (file)
@@ -64,7 +64,7 @@ Catalyst::Authentication::Realm::SimpleDB - A simplified Catalyst authentication
         {  
             default => {
                 class => 'SimpleDB',
-                user_class => 'MyApp::User'
+                user_model => 'MyApp::User'
             }
         }
 
@@ -89,7 +89,7 @@ The SimpleDB Realm class configures the Catalyst authentication system based on
 =over
 
 =item *
-Your user data is stored in a table that is accessible via $c->model('User');
+Your user data is stored in a table that is accessible via $c->model($cfg->{user_model});
 
 =item *
 Your passwords are stored in the 'password' field in your users table and are not encrypted.
@@ -104,8 +104,8 @@ Your user information is stored in the session once the user is authenticated.
 
 =back
 
-For the above usage, only one configuration option is necessary, 'user_class'.
-B<user_class> should contain the class name of your user class. See the
+For the above usage, only one configuration option is necessary, 'user_model'.
+B<user_model> should contain the class name of your user class. See the
 L</PREPARATION> section for info on how to set up your database for use with
 this module.
 
@@ -118,7 +118,7 @@ L<Catalyst::Authentication::Store::DBIx::Class>.
 
 =over 
 
-=item user_class
+=item user_model
 
 Contains the class name (as passed to $c->model() ) of the DBIx::Class schema
 to use as the source for user information.  This config item is B<REQUIRED>.
@@ -254,17 +254,5 @@ L<Catalyst::Plugin::Authorization::Roles>
 
 =back
 
-=head1 WARNINGS
-
-...
-
-=head1 NOTES
-
-...
-
-=head1 BUGS
-
-What?
-
 =cut
 
index a74d4ff..7566900 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use base qw/Class::Accessor::Fast/;
 
-our $VERSION= "0.108";
+our $VERSION= "0.1081";
 
 
 BEGIN {
@@ -92,7 +92,7 @@ Catalyst::Authentication::Store::DBIx::Class - A storage class for Catalyst Auth
 
 =head1 VERSION
 
-This documentation refers to version 0.107.
+This documentation refers to version 0.108.
 
 =head1 SYNOPSIS