1 package Catalyst::Plugin::Authentication::Store::NDWeb;
5 use base qw/Class::Accessor::Fast/;
13 #__PACKAGE__->mk_accessors(qw/config/);
20 $c->default_auth_store(
21 Catalyst::Plugin::Authentication::Store::NDWeb->new(
39 my ( $self, $c, $frozenuser ) = @_;
41 my $user = NDWeb::Auth::User->new();
43 return $user->from_session($frozenuser, $c);
47 my ($self, $c, $user) = @_;
48 return $user->for_session($c);
52 my ( $self, $authinfo, $c ) = @_;
54 my $user = NDWeb::Auth::User->new();;
56 return $user->load($authinfo, $c);
61 # this can work as a class method on the user class
62 NDWeb::User->supports( @_ );
71 Michael Andreen (harv@ruin.nu)