Catalyst::Plugin::Authentication::Store::Htpasswd::Backend

Catalyst::Plugin::Authentication::Store::Htpasswd::Backend is a htpasswd authentication storage backend.
Download

Catalyst::Plugin::Authentication::Store::Htpasswd::Backend Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Catalyst team
  • Publisher web site:
  • http://search.cpan.org/~nuffin/Catalyst-Plugin-Session-Store-Memcached-0.02/lib/Catalyst/Plugin/Session/Store/Memcached.pm

Catalyst::Plugin::Authentication::Store::Htpasswd::Backend Tags


Catalyst::Plugin::Authentication::Store::Htpasswd::Backend Description

Catalyst::Plugin::Authentication::Store::Htpasswd::Backend is a htpasswd authentication storage backend. Catalyst::Plugin::Authentication::Store::Htpasswd::Backend is a htpasswd authentication storage backend.SYNOPSIS # you probably just want Store::Htpasswd under most cases, # but if you insist you can instantiate your own store: use Catalyst::Plugin::Authentication::Store::Htpasswd::Backend; use Catalyst qw/ Authentication Authentication::Credential::Password /; my %users = ( user => { password => "s3cr3t" }, ); our $users = Catalyst::Plugin::Authentication::Store::Htpasswd::Backend->new(%users); sub action : Local { my ( $self, $c ) = @_; $c->login( $users->get_user( $c->req->param("login") ), $c->req->param("password") ); }METHODnew $hash_refConstructs a new store object, which uses the supplied hash ref as it's backing structure.get_user $idKeys the hash by $id and returns the value.If the return value is unblessed it will be blessed as Catalyst::Plugin::Authentication::User::Hash.user_supportsChooses a random user from the hash and delegates to it. Requirements: · Perl


Catalyst::Plugin::Authentication::Store::Htpasswd::Backend Related Software