QXmppNonSASLAuthIq Class
| Header: | #include <QXmppNonSASLAuthIq> |
| Inherits: | QXmppIq |
- List of all members, including inherited members
- QXmppNonSASLAuthIq is part of Stanzas.
Public Functions
| QByteArray | digest() const |
| QString | password() const |
| QString | resource() const |
| void | setDigest(const QString &streamId, const QString &password) |
| void | setPassword(const QString &password) |
| void | setResource(const QString &resource) |
| void | setUsername(const QString &username) |
| QString | username() const |
Detailed Description
QXmppNonSASLAuthIq represents a Non-SASL authentication IQ as defined by XEP-0078: Non-SASL Authentication.
Member Function Documentation
QByteArray QXmppNonSASLAuthIq::digest() const
Returns the SHA1 hash of the concatenated string
See also setDigest().
QString QXmppNonSASLAuthIq::password() const
Returns the username of the account in plaintext
See also setPassword().
QString QXmppNonSASLAuthIq::resource() const
Returns the resource to bind to
See also setResource().
void QXmppNonSASLAuthIq::setDigest(const QString &streamId, const QString &password)
Sets the digest by creating a hash of the concatenation of streamId and password.
password and streamId.
See also digest().
void QXmppNonSASLAuthIq::setPassword(const QString &password)
Sets the username of the account in plaintext
password.
See also password().
void QXmppNonSASLAuthIq::setResource(const QString &resource)
Sets the resource to bind to
See also resource().
void QXmppNonSASLAuthIq::setUsername(const QString &username)
Sets the username of the account
See also username().
QString QXmppNonSASLAuthIq::username() const
Returns the username of the account
See also setUsername().