QCA::SASL::Params
QCA::SASL::Params Class Reference
#include <QtCrypto>
Public Member Functions | |
Params (bool user, bool authzid, bool pass, bool realm) | |
Params (const Params &from) | |
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
◆ Params() [1/2]
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
◆ Params() [2/2]
QCA::SASL::Params::Params | ( | const Params & | from | ) |
Standard copy constructor.
- Parameters
-
from the Params object to copy
Member Function Documentation
◆ canSendAuthzid()
bool QCA::SASL::Params::canSendAuthzid | ( | ) | const |
An Authorization ID can be sent if desired.
- Examples
- saslclient.cpp.
◆ canSendRealm()
bool QCA::SASL::Params::canSendRealm | ( | ) | const |
A Realm can be sent if desired.
- Examples
- saslclient.cpp.
◆ needPassword()
bool QCA::SASL::Params::needPassword | ( | ) | const |
Password is needed.
- Examples
- saslclient.cpp.
◆ needUsername()
bool QCA::SASL::Params::needUsername | ( | ) | const |
User is needed.
- Examples
- saslclient.cpp.
◆ operator=()
Standard assignment operator.
- Parameters
-
from the Params object to assign from
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:02:17 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:02:17 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.