Catalyst-Authentication-Store-Proxy

 view release on metacpan or  search on metacpan

lib/Catalyst/Authentication/Store/Proxy.pm  view on Meta::CPAN

use Moose;
use Catalyst::Utils;

has user_class => (
    is       => 'ro',
    required => 1,
    isa      => 'Str',
    lazy     => 1,
    builder  => '_build_user_class'
);
has handles => ( is => 'ro', isa => 'HashRef' );
has config  => ( is => 'ro', isa => 'HashRef' );
has app     => ( is => 'ro', isa => 'ClassName' );
has realm   => ( is => 'ro' );

sub BUILDARGS {
    my ( $class, $config, $app, $realm ) = @_;
    my $handles = {
        map { $_ => $_ } qw(from_session for_session find_user),
        %{ $config->{handles} || {} },
        app   => $app,
        realm => $realm,



( run in 0.642 second using v1.01-cache-2.11-cpan-5f2e87ce722 )