aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppConfiguration.h
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-18 22:54:04 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-18 22:54:04 +0000
commit8054a813ea973b69fa655ce0cdfb516db58e4295 (patch)
treeadaaf6c64f467008130b2126fa121aff20a4d286 /source/QXmppConfiguration.h
parentd7a8921864d1a622ee1125075139b6693a9011c2 (diff)
downloadqxmpp-8054a813ea973b69fa655ce0cdfb516db58e4295.tar.gz
XEP-0078: Non-SASL Authentication Implementation
Diffstat (limited to 'source/QXmppConfiguration.h')
-rw-r--r--source/QXmppConfiguration.h7
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