mirror of
https://github.com/qt/qtmqtt.git
synced 2026-10-25 16:16:26 +00:00
Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ie4309963c8e17d4e7dad602f61a660246d5e23cb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
// Copyright (C) 2018 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
#ifndef QMQTTAUTHENTICATIONPROPERTIES_H
|
|
#define QMQTTAUTHENTICATIONPROPERTIES_H
|
|
|
|
#include <QtMqtt/qmqttglobal.h>
|
|
#include <QtMqtt/qmqtttype.h>
|
|
|
|
#include <QtCore/QHash>
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QSharedDataPointer>
|
|
#include <QtCore/QString>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QMqttAuthenticationPropertiesData;
|
|
|
|
class Q_MQTT_EXPORT QMqttAuthenticationProperties
|
|
{
|
|
public:
|
|
QMqttAuthenticationProperties();
|
|
QMqttAuthenticationProperties(const QMqttAuthenticationProperties &);
|
|
QMqttAuthenticationProperties &operator=(const QMqttAuthenticationProperties &);
|
|
~QMqttAuthenticationProperties();
|
|
|
|
QString authenticationMethod() const;
|
|
void setAuthenticationMethod(const QString &method);
|
|
|
|
QByteArray authenticationData() const;
|
|
void setAuthenticationData(const QByteArray &adata);
|
|
|
|
QString reason() const;
|
|
void setReason(const QString &r);
|
|
|
|
QMqttUserProperties userProperties() const;
|
|
void setUserProperties(const QMqttUserProperties &user);
|
|
|
|
private:
|
|
QSharedDataPointer<QMqttAuthenticationPropertiesData> data;
|
|
};
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // QMQTTAUTHENTICATIONPROPERTIES_H
|