diff options
| author | Erik Larsson <karl.erik.larsson@gmail.com> | 2018-03-30 11:44:13 +0200 |
|---|---|---|
| committer | Erik Larsson <karl.erik.larsson@gmail.com> | 2018-04-04 10:48:32 +0000 |
| commit | 6b8ac5e36f5f0eaabb2fdc6720394a77b6264954 (patch) | |
| tree | a5fad9a146558a620091dd4c9c80bf762d2b8380 /src/oauth/qoauth2authorizationcodeflow.cpp | |
| parent | a10780ceb87470f9942a8dd9d0d02374e6f97eb7 (diff) | |
Add property for refreshToken
Add a property to the already available C++ API for
refreshToken.
Change-Id: I34be1dd2a7b234cd7a24d8e56f959b8624269216
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
| -rw-r--r-- | src/oauth/qoauth2authorizationcodeflow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp index 03d361e..3bc94e6 100644 --- a/src/oauth/qoauth2authorizationcodeflow.cpp +++ b/src/oauth/qoauth2authorizationcodeflow.cpp @@ -143,7 +143,7 @@ void QOAuth2AuthorizationCodeFlowPrivate::_q_accessTokenRequestFinished(const QV if (!ok) expiresIn = -1; if (values.value(Key::refreshToken).isValid()) - refreshToken = values.value(Key::refreshToken).toString(); + q->setRefreshToken(values.value(Key::refreshToken).toString()); scope = values.value(Key::scope).toString(); if (accessToken.isEmpty()) { qCWarning(loggingCategory, "Access token not received"); |
