|
PdCom
5.3
Process data communication client
|
SASL Interface for PdCom. More...
#include <Sasl.h>
Public Member Functions | |
| Sasl (Sasl const &)=delete | |
| Sasl (Sasl &&) noexcept | |
| Sasl & | operator= (Sasl &&) noexcept |
| Sasl & | operator= (Sasl const &)=delete |
Protected Member Functions | |
| bool | loginStep (const char *mech, const char *clientData) |
| Perform SASL login step. More... | |
| void | logout () |
| Logout from server. | |
SASL Interface for PdCom.
With the help of this interface, a SASL library can communicate with the server and perfom authentification.
The authentification class needs to be registered in the process with Process::setAuthManager().
|
protected |
Perform SASL login step.
| mech | SASL mechanism |
| clientData | Base64 encoded SASL output data to server |
Setting both mech and clientData to NULL will initate the login process.
Every call to login() is answered by a loginReply(), unless login is not supported. When login is mandatory, loginReply() will be called automatically.