Kgapi
authjob.cpp
51AuthJob::AuthJob(const AccountPtr &account, const QString &apiKey, const QString &secretKey, QObject *parent)
static QUrl accountInfoEmailScopeUrl()
Returns scope URL to retrieve AccountInfo with email.
Definition account.cpp:155
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
void setErrorString(const QString &errorString)
Set job error description to errorString.
Definition job.cpp:401
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString tr(const char *sourceText, const char *disambiguation, int n)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.