/usr/share/perl5/Mojolicious/Plugin/README.pod is in libmojolicious-plugin-basicauth-perl 0.07-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | =head1 NAME
Mojolicious::Plugin::BasicAuth - Basic HTTP Auth Helper
=head1 DESCRIPTION
L<Mojolicous::Plugin::BasicAuth> is a helper for basic http authentication.
=head1 USAGE
use Mojolicious::Lite;
plugin 'basic_auth';
get '/' => sub {
my $self = shift;
return $self->render_text('ok')
if $self->basic_auth(
realm => sub { return 1 if "@_" eq 'username password' }
);
};
app->start;
=head1 METHODS
L<Mojolicious::Plugin::BasicAuth> inherits all methods from
L<Mojolicious::Plugin> and implements the following new ones.
=head2 C<register>
$plugin->register;
Register condition in L<Mojolicious> application.
=head1 SEE ALSO
L<Mojolicious>
=head1 DEVELOPMENT
L<http://github.com/tempire/mojolicious-plugin-basicauth>
=head1 VERSION
0.06
=head1 CREDITS
=over 4
=item Kirill Miazine
=back
=head1 AUTHOR
Glen Hinkle <tempire@cpan.org>
=cut
|