25 #ifndef DIGIKAM_GS_TALKER_BASE_H
26 #define DIGIKAM_GS_TALKER_BASE_H
33 #include <QStringList>
34 #include <QNetworkReply>
35 #include <QNetworkAccessManager>
50 explicit GSTalkerBase(QWidget*
const parent,
const QStringList& scope,
const QString& serviceName);
69 void slotLinkingFailed();
70 void slotLinkingSucceeded();
71 void slotOpenBrowser(
const QUrl& url);
75 void parseResponseGetLoggedInUser(
const QByteArray& data);
Definition: gstalkerbase.h:45
void signalLinkingSucceeded()
bool authenticated() const
Definition: gstalkerbase.cpp:186
void doOAuth()
Definition: gstalkerbase.cpp:191
GSTalkerBase(QWidget *const parent, const QStringList &scope, const QString &serviceName)
Definition: gstalkerbase.cpp:76
void signalAuthenticationRefused()
QString m_serviceName
Definition: gstalkerbase.h:85
QStringList m_scope
Definition: gstalkerbase.h:79
QNetworkReply * m_reply
Definition: gstalkerbase.h:84
QString m_bearerAccessToken
Definition: gstalkerbase.h:82
void signalAccessTokenObtained()
void unlink()
Definition: gstalkerbase.cpp:140
~GSTalkerBase() override
Definition: gstalkerbase.cpp:124
void signalBusy(bool val)
QString m_accessToken
Definition: gstalkerbase.h:80
void link()
Definition: gstalkerbase.cpp:134
Definition: gdmpform.cpp:46