QAbstractOAuthReplyHandler Class

Handles replies to OAuth authentication requests. More...

Header: #include <QAbstractOAuthReplyHandler>
qmake: QT += networkauth
Since: Qt 5.8
Inherits: QObject

Public Functions

QAbstractOAuthReplyHandler(QObject *parent = nullptr)
virtual ~QAbstractOAuthReplyHandler()
virtual QString callback() const = 0
  • 31 public functions inherited from QObject

Public Slots

virtual void networkReplyFinished(QNetworkReply *reply) = 0
  • 1 public slot inherited from QObject

Signals

void callbackDataReceived(const QByteArray &data)
void callbackReceived(const QVariantMap &values)
void replyDataReceived(const QByteArray &data)
void tokensReceived(const QVariantMap &tokens)

Static Public Members

const QMetaObject staticMetaObject
  • 9 static public members inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 9 protected functions inherited from QObject

Detailed Description

Handles replies to OAuth authentication requests.

The QAbstractOAuthReplyHandler class handles the answers to all OAuth authentication requests. This class is designed as a base whose subclasses implement custom behavior in the callback() and networkReplyFinished() methods.

Member Function Documentation

QAbstractOAuthReplyHandler::QAbstractOAuthReplyHandler(QObject *parent = nullptr)

Constructs a reply handler as a child of parent.

[virtual] QAbstractOAuthReplyHandler::~QAbstractOAuthReplyHandler()

Destroys the reply handler.

[pure virtual] QString QAbstractOAuthReplyHandler::callback() const

[signal] void QAbstractOAuthReplyHandler::callbackDataReceived(const QByteArray &data)

[signal] void QAbstractOAuthReplyHandler::callbackReceived(const QVariantMap &values)

[pure virtual slot] void QAbstractOAuthReplyHandler::networkReplyFinished(QNetworkReply *reply)

[signal] void QAbstractOAuthReplyHandler::replyDataReceived(const QByteArray &data)

[signal] void QAbstractOAuthReplyHandler::tokensReceived(const QVariantMap &tokens)