aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppIncomingClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/QXmppIncomingClient.h')
-rw-r--r--src/QXmppIncomingClient.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/QXmppIncomingClient.h b/src/QXmppIncomingClient.h
index a6be0a54..25022d0c 100644
--- a/src/QXmppIncomingClient.h
+++ b/src/QXmppIncomingClient.h
@@ -35,24 +35,12 @@ class QXmppPasswordChecker
{
public:
/// Checks that the given credentials are valid.
- virtual bool checkCredentials(const QString &username, const QString &password) = 0;
-
- /// Retrieves the password for the given username.
///
- /// Reimplement this method to support DIGEST-MD5 authentication.
- virtual bool getPassword(const QString &username, QString &password)
- {
- return false;
- };
-
- /// Returns true if it is possible to retrieve passwords.
- ///
- /// Reimplement this method and return true if you provided a
- /// getPassword() method.
- virtual bool hasPasswords() const
- {
- return false;
- };
+ /// \param username
+ /// \param password
+ virtual bool checkCredentials(const QString &username, const QString &password) = 0;
+ virtual bool getPassword(const QString &username, QString &password);
+ virtual bool hasPasswords() const;
};
/// \brief The QXmppIncomingClient class represents an incoming XMPP stream