AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.3
|
A default implementation of Authenticator that only uses an unchanged password and does not implement retry. More...
#include <ampsplusplus.hpp>
Public Member Functions | |
std::string | authenticate (const std::string &, const std::string &password_) |
A simple implementation that returns an unmodified password. | |
std::string | retry (const std::string &, const std::string &) |
Throws an AuthenticationException because retry is not implemented. | |
void | completed (const std::string &, const std::string &, const std::string &) |
Called by Client once a logon completes successfully. More... | |
Static Public Member Functions | |
static Authenticator & | instance () |
Static function to return a static instance used when no Authenticator is supplied to a Client. More... | |
A default implementation of Authenticator that only uses an unchanged password and does not implement retry.
|
inlinevirtual |
Called by Client once a logon completes successfully.
userName_ | The user name that successfully logged on to the server. |
password_ | The password that successfully logged on to the server. |
reason_ | The reason for successful completion, taken from the message returned by the server. |
Implements AMPS::Authenticator.
|
inlinestatic |
Static function to return a static instance used when no Authenticator is supplied to a Client.