X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FAuthentication.pm;h=1438f294887c2eba66900c332454ac5c8fbf2df1;hb=efea013fe2e43d8a8b56d812cfcb3b1969f6ac28;hp=98415ceed6d146894c0bbbfc38526f795259f8a9;hpb=8a31d23d60e1b252399a376007d1f2ffe271890b;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Plugin/Authentication.pm b/lib/Catalyst/Plugin/Authentication.pm index 98415ce..1438f29 100644 --- a/lib/Catalyst/Plugin/Authentication.pm +++ b/lib/Catalyst/Plugin/Authentication.pm @@ -1,18 +1,17 @@ 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.10018"; +with 'MooseX::Emulate::Class::Accessor::Fast'; + +__PACKAGE__->mk_accessors(qw/_user/); + +our $VERSION = "0.10020"; sub set_authenticated { my ( $c, $user, $realmname ) = @_; @@ -474,6 +473,7 @@ sub auth_stores { my %hash = ( 'default' => $self->get_auth_realm('default')->store); } +__PACKAGE__->meta->make_immutable; __PACKAGE__; __END__ @@ -482,8 +482,7 @@ __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 @@ -1112,32 +1111,50 @@ Register stores into the application. =head2 $c->get_user( ) -=head1 AUTHORS +=head1 SUPPORT -Yuval Kogman, C +Please use the rt.cpan.org bug tracker, and git patches are wecome. -Jay Kuri, C +Questions on usage should be directed to the Catalyst mailing list +or the #catalyst irc channel. + +=head1 AUTHORS -Jess Robinson +Yuval Kogman, C - original author -David Kamholz +Jay Kuri, C - Large rewrite + +=head1 PRIMARY MAINTAINER Tomas Doran (t0m), C -kmx +=hasd1 ADDITIONAL CONTRIBUTORS + +=over + +=item Jess Robinson + +=item David Kamholz -Nigel Metheringham +=itm kmx -Florian Ragwitz C +=item Nigel Metheringham -Stephan Jauernick C +=item Florian Ragwitz C -Oskari Ojala (Okko), C +=item Stephan Jauernick C + +=item Oskari Ojala (Okko), C + +=item John Napiorkowski (jnap) C + +=back =head1 COPYRIGHT & LICENSE -Copyright (c) 2005 - 2011 -the Catalyst::Plugin::Authentication L +Copyright (c) 2005 - 2012 +the Catalyst::Plugin::Authentication L, +L and L as listed above. This program is free software; you can redistribute