The WWW-Authenticate challege returned to the clien tin a 401 response for invalid requests
The WWW-Authenticate challege returned to the clien tin a 401 response for invalid requests
An error header, consisting of the challenge and possibly an error and error_description attribute (this depends on the authentication scheme).
An error header, consisting of the challenge and possibly an error and error_description attribute (this depends on the authentication scheme).
Return a function representing an error response
Return a function representing an error response
Whereas the Bearer token is supposed to return an error code in the error attribute and a human-readable error description in the error_description attribute of the WWW-Authenticate header, for the MAC authentication scheme, a human-readable error message may be supplied in the error attribute (see http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-00#section-4.1 )
Whereas the Bearer token is supposed to return an error code in the error attribute and a human-readable error description in the error_description attribute of the WWW-Authenticate header, for the MAC authentication scheme, a human-readable error message may be supplied in the error attribute (see http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-00#section-4.1 )
Represents MAC auth.