my $realmcfg = {
store => { class => $cfg->{'stores'}{$storename} },
};
- print STDERR "Foo, ok?\n";
$app->setup_auth_realm($storename, $realmcfg);
}
}
},
store => {
class => 'DBIx::Class',
- user_class => 'MyApp::Users',
- role_column => 'roles'
+ user_model => 'MyApp::Users',
+ role_column => 'roles',
}
}
}
},
store => {
class => 'DBIx::Class',
- user_class => 'MyApp::Users',
- role_column => 'roles'
+ user_model => 'MyApp::Users',
+ role_column => 'roles',
}
},
admins => {
=head2 $c->logout( )
-Logs the user out. Deletes the currently logged in user from C<< $c->user >> and the session.
+Logs the user out. Deletes the currently logged in user from C<< $c->user >>
+and the session. It does not delete the session.
=head2 $c->find_user( $userinfo, $realm )
=head1 COPYRIGHT & LICENSE
- Copyright (c) 2005 the aforementioned authors. All rights
- reserved. This program is free software; you can redistribute
- it and/or modify it under the same terms as Perl itself.
+Copyright (c) 2005 - 2009
+the Catalyst::Plugin::Authentication L</AUTHORS>
+as listed above.
+
+This program is free software; you can redistribute
+it and/or modify it under the same terms as Perl itself.
=cut