doc fixes for Credential::HTTP
[catagits/Catalyst-Authentication-Credential-HTTP.git] / lib / Catalyst / Plugin / Authentication / Credential / HTTP.pm
index 9db318c..e89402c 100644 (file)
@@ -76,7 +76,7 @@ for Catlayst.
 
 =head1 SYNOPSIS
 
-       use Catalyst qw/
+    use Catalyst qw/
         Authentication
         Authentication::Store::Moose
         Authentication::Credential::HTTP
@@ -85,7 +85,7 @@ for Catlayst.
     sub foo : Local { 
         my ( $self, $c ) = @_;
 
-        $c->authorization_requried( realm => "foo" ); # named after the status code ;-)
+        $c->authorization_required( realm => "foo" ); # named after the status code ;-)
 
         # either user gets authenticated or 401 is sent
 
@@ -116,7 +116,7 @@ will also be added. Patches welcome!
 
 =item authorization_required
 
-Tries to C<authenticate_http>, and if that files calls
+Tries to C<authenticate_http>, and if that fails calls
 C<authorization_required_response> and detaches the current action call stack.
 
 =item authenticate_http
@@ -131,6 +131,17 @@ header to demand authentication data from the user agent.
 
 =back
 
-=cut
+=head1 AUTHORS
+
+Yuval Kogman, C<nothingmuch@woobling.org>
+
+Jess Robinson
 
+=head1 COPYRIGHT & LICENSE
+
+        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.
+
+=cut