AnCH Framework 0.1
Another C++ Hack Framework
Loading...
Searching...
No Matches
anch::rest::Authentication Class Referenceabstract

HTTP authentication. More...

#include <auth.hpp>

Inheritance diagram for anch::rest::Authentication:
Collaboration diagram for anch::rest::Authentication:

Public Member Functions

virtual void setAuthentication (anch::rest::Headers &headers, const std::string &header=anch::rest::CommonHeaders::AUTHORIZATION)=0

Detailed Description

HTTP authentication.

HTTP authentication scheme interface

Author
Vincent Lachenal
Since
0.1

Member Function Documentation

◆ setAuthentication()

virtual void anch::rest::Authentication::setAuthentication ( anch::rest::Headers & headers,
const std::string & header = anch::rest::CommonHeaders::AUTHORIZATION )
pure virtual

Add authentication to HTTP headers

Parameters
headersthe request headers
headerthe header to set (default to Authorization)

Implemented in anch::rest::BasicAuthentication.


The documentation for this class was generated from the following file: