aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppConfiguration.h
diff options
context:
space:
mode:
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