package Catalyst::Plugin::Authentication;
-use base qw/Class::Accessor::Fast/;
-
-__PACKAGE__->mk_accessors(qw/_user/);
-
-use strict;
-use warnings;
-
+use Moose;
+use namespace::clean -except => 'meta';
use MRO::Compat;
use Tie::RefHash;
use Class::Inspector;
use Catalyst::Authentication::Realm;
-our $VERSION = "0.10016";
+with 'MooseX::Emulate::Class::Accessor::Fast';
+
+__PACKAGE__->mk_accessors(qw/_user/);
+
+our $VERSION = "0.10020";
sub set_authenticated {
my ( $c, $user, $realmname ) = @_;
my %hash = ( 'default' => $self->get_auth_realm('default')->store);
}
+__PACKAGE__->meta->make_immutable;
__PACKAGE__;
__END__
=head1 NAME
-Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst
-authentication framework.
+Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst authentication framework.
=head1 SYNOPSIS
=head2 $c->get_user( )
-=head1 AUTHORS
+=head1 SUPPORT
+
+Please use the rt.cpan.org bug tracker, and git patches are wecome.
+
+Questions on usage should be directed to the Catalyst mailing list
+or the #catalyst irc channel.
-Yuval Kogman, C<nothingmuch@woobling.org>
+=head1 AUTHORS
-Jay Kuri, C<jayk@cpan.org>
+Yuval Kogman, C<nothingmuch@woobling.org> - original author
-Jess Robinson
+Jay Kuri, C<jayk@cpan.org> - Large rewrite
-David Kamholz
+=head1 PRIMARY MAINTAINER
Tomas Doran (t0m), C<bobtfish@bobtfish.net>
-kmx
+=hasd1 ADDITIONAL CONTRIBUTORS
+
+=over
+
+=item Jess Robinson
+
+=item David Kamholz
-Nigel Metheringham
+=itm kmx
-Florian Ragwitz C<rafl@debian.org>
+=item Nigel Metheringham
-Stephan Jauernick C<stephanj@cpan.org>
+=item Florian Ragwitz C<rafl@debian.org>
+
+=item Stephan Jauernick C<stephanj@cpan.org>
+
+=item Oskari Ojala (Okko), C<perl@okko.net>
+
+=item John Napiorkowski (jnap) C<jjnapiork@cpan.org>
+
+=back
=head1 COPYRIGHT & LICENSE
-Copyright (c) 2005 - 2009
-the Catalyst::Plugin::Authentication L</AUTHORS>
+Copyright (c) 2005 - 2012
+the Catalyst::Plugin::Authentication L</AUTHORS>,
+L</PRIMARY MAINTAINER> and L</ADDITIONAL CONTRIBUTORS>
as listed above.
This program is free software; you can redistribute