QAbstractOAuthReplyHandler Class
Handles replies to OAuth authentication requests. More...
| Header: | #include <QAbstractOAuthReplyHandler> |
| qmake: | QT += networkauth |
| Since: | Qt 5.8 |
Public Functions
| QAbstractOAuthReplyHandler(QObject *parent = nullptr) | |
| virtual | ~QAbstractOAuthReplyHandler() |
| virtual QString | callback() const = 0 |
Public Slots
| virtual void | networkReplyFinished(QNetworkReply *reply) = 0 |
Signals
| void | callbackDataReceived(const QByteArray &data) |
| void | callbackReceived(const QVariantMap &values) |
| void | replyDataReceived(const QByteArray &data) |
| void | tokensReceived(const QVariantMap &tokens) |
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.