#include <authenticationhandler.h>
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
virtual bool handleSASLPlain |
( |
const std::string & |
authzid, |
|
|
const std::string & |
authcid, |
|
|
const std::string & |
password |
|
) |
| |
|
pure virtual |
This function will be called for SASL PLAIN authentication requests.
- Parameters
-
authzid | The authzid. |
authcid | The authcid (username). |
password | The password. |
- Returns
- True if the username/password combo is OK, false otherwise.
virtual bool handleUserRequest |
( |
const gloox::JID & |
bare | ) |
|
|
pure virtual |
This function is called if the server needs to determine if a given user account exists. The function only gets called if there is no open session associated with the JID.
- Parameters
-
bare | The user account in 'bare JID' (user) form. |
- Returns
- True if the account exists, false otherwise.
The documentation for this class was generated from the following file: