OAuthenticator: Rename function

This commit is contained in:
Jonas Kvinge
2025-04-03 22:37:50 +02:00
parent 389d04bbec
commit 6e5198799c
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ OAuthenticator::OAuthenticator(const SharedPtr<NetworkAccessManager> network, QO
user_id_(0) {
timer_refresh_login_->setSingleShot(true);
QObject::connect(timer_refresh_login_, &QTimer::timeout, this, &OAuthenticator::RenewAccessToken);
QObject::connect(timer_refresh_login_, &QTimer::timeout, this, &OAuthenticator::RerefreshAccessToken);
}
@@ -430,7 +430,7 @@ void OAuthenticator::RequestAccessToken(const QString &code, const QUrl &redirec
}
void OAuthenticator::RenewAccessToken() {
void OAuthenticator::RerefreshAccessToken() {
if (timer_refresh_login_->isActive()) {
timer_refresh_login_->stop();

View File

@@ -82,7 +82,7 @@ class OAuthenticator : public QObject {
void StartRefreshLoginTimer();
QNetworkReply *CreateAccessTokenRequest(const ParamList &params, const bool refresh_token);
void RequestAccessToken(const QString &code = QString(), const QUrl &redirect_url = QUrl());
void RenewAccessToken();
void RerefreshAccessToken();
void AuthorizationUrlReceived(const QUrl &request_url, const QUrl &redirect_url);
Q_SIGNALS: