=head1 SYNOPSIS
- use Catalyst qw/
+ use Catalyst qw/
Authentication
Authentication::Store::Moose
Authentication::Credential::HTTP
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
=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