Catalyst::Plugin::Authentication::Store::Htpasswd - Authentication


Catalyst-Plugin-Authentication-Store-Htpasswd documentation  | view source Contained in the Catalyst-Plugin-Authentication-Store-Htpasswd distribution.

Index


NAME

Top

Catalyst::Plugin::Authentication::Store::Htpasswd - Authentication database in $c->config.

SYNOPSIS

Top

    use Catalyst qw/
      Authentication
      Authentication::Store::Htpasswd
      Authentication::Credential::Password
      /;

    __PACKAGE__->config->{authentication}{htpasswd} = "passwdfile";

    sub login : Global {
        my ( $self, $c ) = @_;

        $c->login( $c->req->param("login"), $c->req->param("password"), );
    }

DESCRIPTION

Top

This plugin uses Authen::Htpasswd to let your application use .htpasswd files for it's authentication storage.

METHODS

Top

setup

This method will popultate $c->config->{authentication}{store} so that default_auth_store in Catalyst::Plugin::Authentication can use it.

CONFIGURATION

Top

$c->config->{authentication}{htpasswd}

The path to the htpasswd file.

AUTHORS

Top

Yuval Kogman nothingmuch@woobling.org

David Kamholz dkamholz@cpan.org

SEE ALSO

Top

Authen::Htpasswd.

COPYRIGHT & LICENSE

Top


Catalyst-Plugin-Authentication-Store-Htpasswd documentation  | view source Contained in the Catalyst-Plugin-Authentication-Store-Htpasswd distribution.