Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rename Authen::Basic to Auth::Basic
  • Loading branch information
miyagawa committed Nov 20, 2009
1 parent 149b453 commit 32d45d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
@@ -1,4 +1,4 @@
package Plack::Middleware::Authen::Basic;
package Plack::Middleware::Auth::Basic;
use strict;
use parent qw(Plack::Middleware);
__PACKAGE__->mk_accessors(qw(realm authenticator));
Expand Down Expand Up @@ -41,15 +41,15 @@ __END__
=head1 NAME
Plack::Middleware::Authen::Basic - Simple basic authentication middleware
Plack::Middleware::Auth::Basic - Simple basic authentication middleware
=head1 SYNOPSIS
use Plack::Builder;
my $app = sub { ... };
builder {
enable "Authen::Basic", authenticator => \&authen_cb;
enable "Auth::Basic", authenticator => \&authen_cb;
$app;
};
Expand All @@ -60,7 +60,7 @@ Plack::Middleware::Authen::Basic - Simple basic authentication middleware
=head1 DESCRIPTION
Plack::Middleware::Authen::Basic is a basic authentication handler for Plack.
Plack::Middleware::Auth::Basic is a basic authentication handler for Plack.
=head1 AUTHOR
Expand Down
Expand Up @@ -5,7 +5,7 @@ use HTTP::Request::Common;

my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ "Hello $_[0]->{REMOTE_USER}" ] ] };
$app = builder {
enable "Authen::Basic", authenticator => \&cb;
enable "Auth::Basic", authenticator => \&cb;
$app;
};

Expand Down

0 comments on commit 32d45d2

Please sign in to comment.