QXmpp
Version: 1.5.6
Loading...
Searching...
No Matches
src
base
QXmppNonSASLAuth.h
1
// SPDX-FileCopyrightText: 2009 Manjeet Dahiya <manjeetdahiya@gmail.com>
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
5
#ifndef QXmppNonSASLAuth_H
6
#define QXmppNonSASLAuth_H
7
8
#include "QXmppIq.h"
9
10
class
QXMPP_EXPORT
QXmppNonSASLAuthIq
:
public
QXmppIq
11
{
12
public
:
13
QXmppNonSASLAuthIq
();
14
15
QString username()
const
;
16
void
setUsername(
const
QString &username);
17
18
QByteArray digest()
const
;
19
void
setDigest(
const
QString &streamId,
const
QString &password);
20
21
QString password()
const
;
22
void
setPassword(
const
QString &password);
23
24
QString resource()
const
;
25
void
setResource(
const
QString &resource);
26
28
static
bool
isNonSASLAuthIq(
const
QDomElement &element);
29
30
protected
:
31
void
parseElementFromChild(
const
QDomElement &element)
override
;
32
void
toXmlElementFromChild(QXmlStreamWriter *writer)
const override
;
34
35
private
:
36
QString m_username;
37
QByteArray m_digest;
38
QString m_password;
39
QString m_resource;
40
};
41
42
#endif
// QXmppNonSASLAuth_H
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition
QXmppIq.h:23
QXmppNonSASLAuthIq
Definition
QXmppNonSASLAuth.h:11
Generated by
1.9.8