OAuthenticator: Rename function
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -82,7 +82,7 @@ class OAuthenticator : public QObject {
|
||||
void StartRefreshLoginTimer();
|
||||
QNetworkReply *CreateAccessTokenRequest(const ParamList ¶ms, 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:
|
||||
|
||||
Reference in New Issue
Block a user