mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
debug oauth
This commit is contained in:
parent
73809413ff
commit
5b81188cf3
@ -295,6 +295,8 @@ void OAuth2Service::logout(bool stop_redirection_handler) {
|
||||
setAccessToken(QString());
|
||||
setRefreshToken(QString());
|
||||
|
||||
qDebugNN << LOGSEC_OAUTH << "Clearing tokens.";
|
||||
|
||||
if (stop_redirection_handler) {
|
||||
m_redirectionHandler->stop();
|
||||
}
|
||||
|
@ -342,4 +342,6 @@ void OAuthHttpHandler::stop() {
|
||||
m_listenAddress = QHostAddress();
|
||||
m_listenPort = 0;
|
||||
m_listenAddressPort = QString();
|
||||
|
||||
qDebugNN << LOGSEC_OAUTH << "Stopped redirection handler.";
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ void FormEditInoreaderAccount::apply() {
|
||||
account<InoreaderServiceRoot>()->network()->oauth()->setRefreshToken(m_details->m_oauth->refreshToken());
|
||||
account<InoreaderServiceRoot>()->network()->oauth()->setAccessToken(m_details->m_oauth->accessToken());
|
||||
account<InoreaderServiceRoot>()->network()->oauth()->setTokensExpireIn(m_details->m_oauth->tokensExpireIn());
|
||||
m_details->m_oauth->logout();
|
||||
m_details->m_oauth->logout(true);
|
||||
m_details->m_oauth->deleteLater();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user