1#ifndef XXAuthProviderOAuthH
2#define XXAuthProviderOAuthH
9#include <QOAuth2AuthorizationCodeFlow>
30 void setStandardFlow(
const QString& baseAuthUrl,
const QString& clientId,
const QString& clientSecret);
34 QOAuth2AuthorizationCodeFlow*
getFlow()
const;
69 QOAuth2AuthorizationCodeFlow* oauthFlow;
70 QMetaObject::Connection grantConnection;
#define XXNETWORKOAUTH_DECLSPEC
Definition XXNetworkOAuthExportDef.h:11
State
Definition XXAuthProviderOAuth.h:38
virtual QString loadRefreshToken()
void setCustomFlow(QOAuth2AuthorizationCodeFlow *oauthFlow)
void setFinalHTML(const QString &html)
virtual bool update() override
void setTokenInfoUrl(const QString url)
virtual void saveRefreshToken(const QString &refreshToken)
void setFinalRedirect(const QString &url)
QJsonObject getTokenInfo(QByteArray token=QByteArray()) const
virtual bool authorizeUser()
void setStandardFlow(const QString &baseAuthUrl, const QString &clientId, const QString &clientSecret)
QOAuth2AuthorizationCodeFlow * getFlow() const
Network settings class.
Definition XXNetworkSettings.h:14
Definition XXAuthProviderToken.h:12
Definition XXPopulatedAbstract.h:11