Kgapi
authjob.h
49 explicit AuthJob(const AccountPtr &account, const QString &apiKey, const QString &secretKey, QObject *parent = nullptr);
98 void dispatchRequest(QNetworkAccessManager *accessManager, const QNetworkRequest &request, const QByteArray &data, const QString &contentType) override;
AuthJob(const AccountPtr &account, const QString &apiKey, const QString &secretKey, QObject *parent=nullptr)
Creates a new authentication job.
Definition authjob.cpp:51
void handleReply(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::Job::handleReply implementation.
Definition authjob.cpp:76
void setPassword(const QString &password)
Sets the password that will be used when authenticate is called.
Definition authjob.cpp:72
void setUsername(const QString &username)
Sets the username that will be used when authenticate is called.
Definition authjob.cpp:67
void dispatchRequest(QNetworkAccessManager *accessManager, const QNetworkRequest &request, const QByteArray &data, const QString &contentType) override
KGAPI2::Job::displayRequest implementation.
Definition authjob.cpp:82
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.