From 8054a813ea973b69fa655ce0cdfb516db58e4295 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sun, 18 Oct 2009 22:54:04 +0000 Subject: XEP-0078: Non-SASL Authentication Implementation --- source/QXmppConfiguration.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/QXmppConfiguration.h') 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 -- cgit v1.2.3