Qt Cryptographic Architecture
|
#include <QtCrypto>
Public Member Functions | |
bool | canSendAuthzid () const |
bool | canSendRealm () const |
bool | needPassword () const |
bool | needUsername () const |
Params & | operator= (const Params &from) |
Params (bool user, bool authzid, bool pass, bool realm) | |
Params (const Params &from) | |
Parameter flags for the SASL authentication.
This is used to indicate which parameters are needed by SASL in order to complete the authentication process.
QCA::SASL::Params::Params | ( | bool | user, |
bool | authzid, | ||
bool | pass, | ||
bool | realm | ||
) |
Standard constructor.
The concept behind this is that you set each of the flags depending on which parameters are needed.
user | the username is required |
authzid | the authorization identity is required |
pass | the password is required |
realm | the realm is required |
QCA::SASL::Params::Params | ( | const Params & | from | ) |
Standard copy constructor.
from | the Params object to copy |
Standard assignment operator.
from | the Params object to assign from |
bool QCA::SASL::Params::needUsername | ( | ) | const |
User is needed.
bool QCA::SASL::Params::canSendAuthzid | ( | ) | const |
An Authorization ID can be sent if desired.
bool QCA::SASL::Params::needPassword | ( | ) | const |
Password is needed.
bool QCA::SASL::Params::canSendRealm | ( | ) | const |
A Realm can be sent if desired.