/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/gmail/gui/ |
H A D | gmailaccountdetails.cpp | 14 : QWidget(parent), m_oauth(nullptr), m_lastProxy({}) { in GmailAccountDetails() 56 m_oauth->logout(true); in testSetup() 57 m_oauth->setClientId(m_ui.m_txtAppId->lineEdit()->text()); in testSetup() 58 m_oauth->setClientSecret(m_ui.m_txtAppKey->lineEdit()->text()); in testSetup() 59 m_oauth->setRedirectUrl(m_ui.m_txtRedirectUrl->lineEdit()->text(), true); in testSetup() 62 m_oauth->login(); in testSetup() 96 fac.setOauth(m_oauth); in onAuthGranted() 110 connect(m_oauth, &OAuth2Service::tokensRetrieved, this, &GmailAccountDetails::onAuthGranted); in hookNetwork() 111 connect(m_oauth, &OAuth2Service::tokensRetrieveError, this, &GmailAccountDetails::onAuthError); in hookNetwork() 112 connect(m_oauth, &OAuth2Service::authFailed, this, &GmailAccountDetails::onAuthFailed); in hookNetwork()
|
H A D | formeditgmailaccount.cpp | 57 m_details->m_oauth = account<GmailServiceRoot>()->network()->oauth(); in loadAccountData() 61 m_details->m_ui.m_txtAppId->lineEdit()->setText(m_details->m_oauth->clientId()); in loadAccountData() 62 m_details->m_ui.m_txtAppKey->lineEdit()->setText(m_details->m_oauth->clientSecret()); in loadAccountData() 63 m_details->m_ui.m_txtRedirectUrl->lineEdit()->setText(m_details->m_oauth->redirectUrl()); in loadAccountData()
|
H A D | gmailaccountdetails.h | 40 OAuth2Service* m_oauth; variable
|
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/greader/gui/ |
H A D | greaderaccountdetails.cpp | 18 m_oauth(nullptr), m_lastProxy({}) { in GreaderAccountDetails() 123 fac.setOauth(m_oauth); in onAuthGranted() 136 if (m_oauth != nullptr) { in hookNetwork() 137 connect(m_oauth, &OAuth2Service::tokensRetrieved, this, &GreaderAccountDetails::onAuthGranted); in hookNetwork() 139 connect(m_oauth, &OAuth2Service::authFailed, this, &GreaderAccountDetails::onAuthFailed); in hookNetwork() 176 if (m_oauth != nullptr) { in performTest() 177 m_oauth->logout(true); in performTest() 178 m_oauth->setClientId(m_ui.m_txtAppId->lineEdit()->text()); in performTest() 179 m_oauth->setClientSecret(m_ui.m_txtAppKey->lineEdit()->text()); in performTest() 180 m_oauth->setRedirectUrl(m_ui.m_txtRedirectUrl->lineEdit()->text(), true); in performTest() [all …]
|
H A D | formeditgreaderaccount.cpp | 71 m_details->m_oauth = existing_root->network()->oauth(); in loadAccountData() 74 m_details->m_ui.m_txtAppId->lineEdit()->setText(m_details->m_oauth->clientId()); in loadAccountData() 75 m_details->m_ui.m_txtAppKey->lineEdit()->setText(m_details->m_oauth->clientSecret()); in loadAccountData() 76 m_details->m_ui.m_txtRedirectUrl->lineEdit()->setText(m_details->m_oauth->redirectUrl()); in loadAccountData()
|
H A D | greaderaccountdetails.h | 48 OAuth2Service* m_oauth; variable
|
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/feedly/gui/ |
H A D | feedlyaccountdetails.cpp | 22 m_oauth = nullptr; 77 connect(m_oauth, &OAuth2Service::tokensRetrieved, this, &FeedlyAccountDetails::onAuthGranted); in hookNetwork() 78 connect(m_oauth, &OAuth2Service::tokensRetrieveError, this, &FeedlyAccountDetails::onAuthError); in hookNetwork() 79 connect(m_oauth, &OAuth2Service::authFailed, this, &FeedlyAccountDetails::onAuthFailed); in hookNetwork() 99 factory.setOauth(m_oauth); in onAuthGranted() 122 m_oauth->logout(false); in performTest() 125 m_oauth->login(); in performTest()
|
H A D | feedlyaccountdetails.h | 46 OAuth2Service* m_oauth; variable
|
H A D | formeditfeedlyaccount.cpp | 57 m_details->m_oauth = account<FeedlyServiceRoot>()->network()->oauth(); in loadAccountData()
|
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/feedly/ |
H A D | feedlynetwork.cpp | 29 m_oauth(new OAuth2Service(QSL(FEEDLY_API_URL_BASE) + QSL(FEEDLY_API_URL_AUTH), in FeedlyNetwork() 42 connect(m_oauth, &OAuth2Service::tokensRetrieveError, this, &FeedlyNetwork::onTokensError); in FeedlyNetwork() 43 connect(m_oauth, &OAuth2Service::authFailed, this, &FeedlyNetwork::onAuthFailed); in FeedlyNetwork() 44 connect(m_oauth, &OAuth2Service::tokensRetrieved, this, &FeedlyNetwork::onTokensRetrieved); in FeedlyNetwork() 518 m_oauth->setAccessToken(QString()); in onTokensError() 519 m_oauth->setRefreshToken(QString()); in onTokensError() 522 m_oauth->login(); in onTokensError() 535 m_oauth->login(); in onAuthFailed() 551 return m_oauth; in oauth() 555 m_oauth = oauth; in setOauth() [all …]
|
H A D | feedlynetwork.h | 77 OAuth2Service* m_oauth; variable
|
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/greader/ |
H A D | greadernetwork.cpp | 28 m_oauth(new OAuth2Service(QSL(INO_OAUTH_AUTH_URL), QSL(INO_OAUTH_TOKEN_URL), 871 m_oauth->bearer().toLocal8Bit() }; in authHeader() 881 return !m_oauth->bearer().isEmpty(); in ensureLogin() 1106 m_oauth->setAccessToken(QString()); in onTokensError() 1107 m_oauth->setRefreshToken(QString()); in onTokensError() 1108 m_oauth->login(); in onTokensError() 1120 m_oauth->login(); in onAuthFailed() 1130 m_oauth->setRedirectUrl(QSL(OAUTH_REDIRECT_URI) + in initializeOauth() 1136 connect(m_oauth, &OAuth2Service::authFailed, this, &GreaderNetwork::onAuthFailed); in initializeOauth() 1158 return m_oauth; in oauth() [all …]
|
H A D | greadernetwork.h | 139 OAuth2Service* m_oauth; variable
|