#include <Pt/Http/Authenticator.h>
Client side authentication.
Inherits NonCopyable.
Public Types | |
typedef std::map< std::string, Credential > | Credentials |
Credentials for realms. | |
Public Member Functions | |
Authenticator () | |
Default Constructor. | |
~Authenticator () | |
Destructor. | |
void | addAuthentication (Authentication &auth) |
Adds an authentication method. | |
bool | authenticate (Request &request, const Reply &reply) |
Authenticate a request in response to a reply. | |
void | setCredential (const std::string &realm, const Credential &cred) |
Set credential for a realm. | |