1 package Catalyst::Plugin::Authentication::Store::NDWeb;
10 our $VERSION= "0.104";
17 $c->default_auth_store(
18 Catalyst::Plugin::Authentication::Store::NDWeb->new(
27 my ( $self, $c, $frozenuser ) = @_;
29 my $user = NDWeb::Auth::User->new();
31 return $user->from_session($frozenuser, $c);
35 my ($self, $c, $user) = @_;
36 return $user->for_session($c);
40 my ( $self, $authinfo, $c ) = @_;
42 my $user = NDWeb::Auth::User->new();;
44 return $user->load($authinfo, $c);
49 # this can work as a class method on the user class
50 NDWeb::User->supports( @_ );
53 __PACKAGE__->meta->make_immutable;
59 Michael Andreen (harv@ruin.nu)