#include <Auth.hpp>
Inheritance diagram for Ionflux::Tools::Auth:
Public Member Functions | |
Auth () | |
Constructor. | |
virtual | ~Auth () |
Destructor. | |
virtual bool | auth (const std::string &username, const std::string &password)=0 |
Authenticate user. | |
virtual void | getSecret (const std::string &username, std::string &secret)=0 |
Get secret. | |
virtual Reporter & | getLog ()=0 |
Get Console output/logging facility. |
A simple user authentication interface.
|
Constructor. Construct new Auth object. |
|
Destructor. Destruct Auth object. |
|
Authenticate user. Authenticate a username/password pair.
Implemented in Ionflux::Tools::AuthFile. |
|
Get Console output/logging facility.
Implemented in Ionflux::Tools::AuthFile. |
|
Get secret. Get the secret associated with a username. If the username is not valid, the secret will be set to an empty string.
Implemented in Ionflux::Tools::AuthFile. |