HTTP authentication. More...
#include <auth.hpp>
Public Member Functions | |
| virtual void | setAuthentication (anch::rest::Headers &headers, const std::string &header=anch::rest::CommonHeaders::AUTHORIZATION)=0 |
HTTP authentication.
HTTP authentication scheme interface
|
pure virtual |
Add authentication to HTTP headers
| headers | the request headers |
| header | the header to set (default to Authorization) |
Implemented in anch::rest::BasicAuthentication.