#include <Pt/Http/Credentials.h>
Credentials for authorization and authentication.
Public Member Functions | |
| Credential () | |
| Default Constructor. | |
| Credential (const std::string &user, const std::string &passwd) | |
| Construct with user and password. | |
| Credential (const char *user, const char *passwd) | |
| Construct with user and password. | |
| std::string & | password () |
| Returns the password. | |
| const std::string & | password () const |
| Returns the password. | |
| void | set (const std::string &user, const std::string &passwd) |
| Set user and password. | |
| void | set (const char *user, const char *passwd) |
| Set user and password. | |
| std::string & | user () |
| Returns the user name. | |
| const std::string & | user () const |
| Returns the user name. | |