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
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 ) = @_;
$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;
Provides information about what the user object supports.
+=item auto_update_user
+
+=item auto_create_user
+
=back
=head1 NOTES