![]() |
Kea 2.0.2
|
Basic HTTP authentication client configuration. More...
#include <basic_auth_config.h>
Inheritance diagram for isc::http::BasicHttpAuthClient:Public Member Functions | |
| BasicHttpAuthClient (const std::string &user, const std::string &password, const isc::data::ConstElementPtr &user_context) | |
| Constructor. More... | |
| const std::string & | getPassword () const |
| Returns the password. More... | |
| const std::string & | getUser () const |
| Returns the user id. More... | |
| virtual isc::data::ElementPtr | toElement () const |
| Unparses basic HTTP authentication client configuration. More... | |
Public Member Functions inherited from isc::data::UserContext | |
| void | contextToElement (data::ElementPtr map) const |
| Merge unparse a user_context object. More... | |
| data::ConstElementPtr | getContext () const |
| Returns const pointer to the user context. More... | |
| void | setContext (const data::ConstElementPtr &ctx) |
| Sets user context. More... | |
Public Member Functions inherited from isc::data::CfgToElement | |
| virtual | ~CfgToElement () |
| Destructor. More... | |
| virtual isc::data::ElementPtr | toElement () const =0 |
| Unparse a configuration object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from isc::data::UserContext | |
| static data::ElementPtr | toElement (data::ConstElementPtr map) |
| Copy an Element map. More... | |
Protected Attributes inherited from isc::data::UserContext | |
| data::ConstElementPtr | user_context_ |
| Pointer to the user context (may be NULL) More... | |
Basic HTTP authentication client configuration.
Definition at line 26 of file basic_auth_config.h.
| isc::http::BasicHttpAuthClient::BasicHttpAuthClient | ( | const std::string & | user, |
| const std::string & | password, | ||
| const isc::data::ConstElementPtr & | user_context | ||
| ) |
Constructor.
| user | User id |
| password | Password |
| user_context | Optional user context |
Definition at line 22 of file basic_auth_config.cc.
References isc::data::UserContext::setContext().
Here is the call graph for this function:
|
inline |
Returns the password.
Definition at line 45 of file basic_auth_config.h.
|
inline |
Returns the user id.
Definition at line 40 of file basic_auth_config.h.
|
virtual |
Unparses basic HTTP authentication client configuration.
Implements isc::data::CfgToElement.
Definition at line 32 of file basic_auth_config.cc.
References isc::data::UserContext::contextToElement().
Here is the call graph for this function: