#include <Pt/Http/Authenticator.h>
Basic HTTP authentication for clients.
Inherits Authentication.
Public Types | |
typedef std::map< std::string, Credential > | Credentials |
Credentials for realms. | |
Public Member Functions | |
BasicAuthentication () | |
Default Constructor. | |
virtual | ~BasicAuthentication () |
Destructor. | |
virtual bool | authenticate (const Credentials &credentials, Request &request, const Reply &reply) |
Authenticate a request in response to a reply. More... | |
const std::string & | name () const |
Returns the type name of the authentication. | |
|
virtual |
Authenticates the request using the credentials in response to the corresponding reply.
Implements Authentication.