Catalyst::Authentication::Store::Htpasswd::User(3pm)

Catalyst::Authentication::Store::Htpasswd::User3pm

A user object representing an entry in an htpasswd file.

Version

version 1.006

Overview

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.

Methods

new($store,$user)

Creates a new object from a store object, normally an instance of Catalyst::Plugin::Authentication::Store::Htpasswd::Backend, and a user object, normally an instance of Authen::Htpasswd::User.

id

Returns the username.

check_password($password)

Returns whether the password is valid.

roles

Returns an array of roles, which is extracted from a comma-separated list in the third field of the htpasswd file.

for_session

Returns the username, which is then stored in the session.

supported_features

Returns data about which featurs this user module supports.

get_object

Returns the underlieing Authen::Htpasswd::User object for this user

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Authentication-Store-Htpasswd> (or [email protected] <mailto:[email protected]>).

There is also a mailing list available for users of this distribution, at <http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst>.

There is also an irc channel available for users of this distribution, at "#catalyst" on "irc.perl.org" <irc://irc.perl.org/#catalyst>.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 10–11
  3. 12–13

Author

XXXX XXX'XX (Yuval Kogman) <[email protected]>

From libcatalyst-authentication-store-htpasswd-perl 1.006-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.