QXmpp Version: 1.10.0
|
The QXmppPasswordChecker class represents an abstract password checker. More...
#include <QXmppPasswordChecker.h>
Public Member Functions | |
virtual QXmppPasswordReply * | checkPassword (const QXmppPasswordRequest &request) |
virtual QXmppPasswordReply * | getDigest (const QXmppPasswordRequest &request) |
virtual bool | hasGetPassword () const |
Returns true if the getPassword() method is implemented. | |
Protected Member Functions | |
virtual QXmppPasswordReply::Error | getPassword (const QXmppPasswordRequest &request, QString &password) |
The QXmppPasswordChecker class represents an abstract password checker.
|
virtual |
Checks that the given credentials are valid.
The base implementation requires that you reimplement getPassword().
|
virtual |
Retrieves the MD5 digest for the given username.
Reimplement this method if your backend natively supports retrieving MD5 digests.
|
protectedvirtual |
Retrieves the password for the given username.
The simplest way to write a password checker is to reimplement this method.