use Catalyst::Authentication::Store::Htpasswd::User;
use Scalar::Util qw/blessed/;
-our $VERSION = '1.001';
+our $VERSION = '1.004';
BEGIN { __PACKAGE__->mk_accessors(qw/file user_field user_class/) }
=head1 DESCRIPTION
-This plugin uses C<Authen::Htpasswd> to let your application use C<.htpasswd>
+This plugin uses L<Authen::Htpasswd> to let your application use C<<.htpasswd>>
files for it's authentication storage.
=head1 METHODS
=head2 from_session
-Delegates the user lookup to C< find_user >
+Delegates the user lookup to C<< find_user >>
=head1 CONFIGURATION
=head2 file
The path to the htpasswd file. If the path starts with a slash, then it is assumed to be a fully
-qualified path, otherwise the path is fed through C< $c->path_to > and so normalised to the
+qualified path, otherwise the path is fed through C<< $c->path_to >> and so normalised to the
application root.
-Alternatively, it is possible to pass in an L< Authen::Htpasswd > object here, and this will be
+Alternatively, it is possible to pass in an L<Authen::Htpasswd> object here, and this will be
used as the htpasswd file.
=head2 user_class
-Change the user class which this store returns. Defaults to L< Catalyst::Authentication::Store::Htpasswd::User >.
+Change the user class which this store returns. Defaults to L<Catalyst::Authentication::Store::Htpasswd::User>.
This can be used to add additional functionality to the user class by sub-classing it, but will not normally be
needed.
=head2 user_field
-Change the field that the username is found in in the information passed into the call to C< $c->authenticate() >.
+Change the field that the username is found in in the information passed into the call to C<< $c->authenticate() >>.
This defaults to I< username >, and generally you should be able to use the module as shown in the synopsis, however
if you need a different field name then this setting can change the default.
=head1 AUTHORS
-Yuval Kogman C<nothingmuch@woobling.org>
+Yuval Kogman C<<nothingmuch@woobling.org>>
-David Kamholz C<dkamholz@cpan.org>
+David Kamholz C<<dkamholz@cpan.org>>
-Tomas Doran C<bobtfish@bobtfish.net>
+Tomas Doran C<<bobtfish@bobtfish.net>>
=head1 SEE ALSO