Catalyst::Authentication::Store::Htpasswd::User - A user object representing an entry in an htpasswd file.
This object wraps an Authen::Htpasswd::User object. An instance of it will be returned by $c->user when using Catalyst::Authentication::Store::Htpasswd. Methods not defined in this module are passed through to the Authen::Htpasswd::User object. The object stringifies to the username.
$c->user
Creates a new object from a store object, normally an instance of Catalyst::Authentication::Store::Htpasswd::Backend, and a user object, normally an instance of Authen::Htpasswd::User.
Returns the username.
Returns whether the password is valid.
Returns an array of roles, which is extracted from a comma-separated list in the third field of the htpasswd file.
Returns the username, which is then stored in the session.
Returns data about which featurs this user module supports.
Returns the underlieing Authen::Htpasswd::User object for this user
Yuval Kogman nothingmuch@woobling.org
nothingmuch@woobling.org
David Kamholz dkamholz@cpan.org
dkamholz@cpan.org
Tomas Doran bobtfish@bobtfish.net
bobtfish@bobtfish.net
Copyright (c) 2005 the aforementioned authors. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Authentication::Store::Htpasswd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Authentication::Store::Htpasswd
CPAN shell
perl -MCPAN -e shell install Catalyst::Authentication::Store::Htpasswd
For more information on module installation, please visit the detailed CPAN module installation guide.