qca
QCA::SASL::Params Class Reference
[QCA user API]
Parameter flags for the SASL authentication. More...
#include <QtCrypto>
Public Member Functions | |
| Params (const Params &from) | |
| Params (bool user, bool authzid, bool pass, bool realm) | |
| Params () | |
| ~Params () | |
| bool | canSendAuthzid () const |
| bool | canSendRealm () const |
| bool | needPassword () const |
| bool | needUsername () const |
| Params & | operator= (const Params &from) |
Detailed Description
Parameter flags for the SASL authentication.
This is used to indicate which parameters are needed by SASL in order to complete the authentication process.
Definition at line 906 of file qca_securelayer.h.
Constructor & Destructor Documentation
| QCA::SASL::Params::Params | ( | ) |
Definition at line 1209 of file qca_securelayer.cpp.
| 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.
- Parameters:
-
user the username is required authzid the authorization identity is required pass the password is required realm the realm is required
Definition at line 1214 of file qca_securelayer.cpp.
| QCA::SASL::Params::Params | ( | const Params & | from | ) |
Standard copy constructor.
- Parameters:
-
from the Params object to copy
Definition at line 1223 of file qca_securelayer.cpp.
| QCA::SASL::Params::~Params | ( | ) |
Definition at line 1228 of file qca_securelayer.cpp.
Member Function Documentation
| bool QCA::SASL::Params::canSendAuthzid | ( | ) | const |
An Authorization ID can be sent if desired.
Definition at line 1244 of file qca_securelayer.cpp.
| bool QCA::SASL::Params::canSendRealm | ( | ) | const |
A Realm can be sent if desired.
Definition at line 1254 of file qca_securelayer.cpp.
| bool QCA::SASL::Params::needPassword | ( | ) | const |
Password is needed.
Definition at line 1249 of file qca_securelayer.cpp.
| bool QCA::SASL::Params::needUsername | ( | ) | const |
User is needed.
Definition at line 1239 of file qca_securelayer.cpp.
| SASL::Params & QCA::SASL::Params::operator= | ( | const Params & | from | ) |
Standard assignment operator.
- Parameters:
-
from the Params object to assign from
Definition at line 1233 of file qca_securelayer.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference