diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-10-18 22:54:04 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-10-18 22:54:04 +0000 |
| commit | 8054a813ea973b69fa655ce0cdfb516db58e4295 (patch) | |
| tree | adaaf6c64f467008130b2126fa121aff20a4d286 /source/QXmppConfiguration.h | |
| parent | d7a8921864d1a622ee1125075139b6693a9011c2 (diff) | |
| download | qxmpp-8054a813ea973b69fa655ce0cdfb516db58e4295.tar.gz | |
XEP-0078: Non-SASL Authentication Implementation
Diffstat (limited to 'source/QXmppConfiguration.h')
| -rw-r--r-- | source/QXmppConfiguration.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/QXmppConfiguration.h b/source/QXmppConfiguration.h index b8db22dc..fad1de79 100644 --- a/source/QXmppConfiguration.h +++ b/source/QXmppConfiguration.h @@ -56,6 +56,9 @@ public: bool getAutoReconnectionEnabled() const;
void setAutoReconnectionEnabled(bool);
+ bool getUseSASLAuthentication() const;
+ void setUseSASLAuthentication(bool);
+
private:
QString m_host;
int m_port;
@@ -74,6 +77,10 @@ private: int m_keepAlivePingsInterval;
// will keep reconnecting if disconnected, default is true
bool m_autoReconnectionEnabled;
+ bool m_useSASLAuthentication; ///< flag to specify what authentication system
+ ///< to be used
+ ///< defualt is true and use SASL
+ ///< false would use NonSASL if available
};
#endif // QXMPPCONFIGURATION_H
|
