HTTP::Throwable::Role::Status::Unauthorized(3) 401 Unauthorized

VERSION

version 0.026

DESCRIPTION

The request requires user authentication. The response MUST include a WWW-Authenticate header field containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field. If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information.

ATTRIBUTES

www_authenticate

This is a required string or array of string that will be used to populate the 'WWW-Authenticate' header(s) when creating a PSGI response.

AUTHORS

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.