X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FStore%2FMinimal.pm;fp=lib%2FCatalyst%2FAuthentication%2FStore%2FMinimal.pm;h=921f8c44b331179730dd48b8ed8d033441069684;hb=202af0af514771dd8e14557e971467c522eae3f4;hp=63a0afd728722791393356410e96478b63281758;hpb=8f57bf96b78b15ca9407e6ab5d2426745ac8a1f0;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Authentication/Store/Minimal.pm b/lib/Catalyst/Authentication/Store/Minimal.pm index 63a0afd..921f8c4 100644 --- a/lib/Catalyst/Authentication/Store/Minimal.pm +++ b/lib/Catalyst/Authentication/Store/Minimal.pm @@ -1,14 +1,11 @@ package Catalyst::Authentication::Store::Minimal; +use Moose; +use namespace::autoclean; -use strict; -use warnings; - +with 'MooseX::Emulate::Class::Accessor::Fast'; use Scalar::Util qw( blessed ); -use base qw/Class::Accessor::Fast/; -BEGIN { - __PACKAGE__->mk_accessors(qw/userhash userclass/); -} +__PACKAGE__->mk_accessors(qw/userhash userclass/); sub new { my ( $class, $config, $app, $realm) = @_;