On Wednesday, February 22, 2017 10:43:23 PM Juhani Matilainen wrote:
> But it seems refreshAccessToken -request doesn’t contains client_id and
> client_secret parameters that are required to refreshing an access token (at
> least with Google login) … and setModifyParametersFunction is available
Thanks again. Yes, it works. Now I can get refresh_token.
But it seems refreshAccessToken -request doesn’t contains client_id and
client_secret parameters that are required to refreshing an access token (at
least with Google login) … and setModifyParametersFunction is available in
refreshAcce
On Wednesday, February 22, 2017 10:19:06 AM Juhani Matilainen wrote:
> Another question: Google login requires ’access_type=offline’ parameter in
> authorization request to get refresh token. Which function should be used to
> set it?
You can use QAbstractOAuth::setModifyParametersFunction to ad
Thank you. Unfortunately I couldn’t get it to work with multipart post request.
Do you have an example? But I found that I can successfully use it in the old
way: QAbstractOAuth::networkAccessManager::post()
Another question: Google login requires ’access_type=offline’ parameter in
authorizatio
On Monday, February 20, 2017 04:24:10 PM Juhani Matilainen wrote:
> Hello,
>
> Qt 5.8 contains new QtNetwork Auth module (as a technology preview). I
> successfully login to Google and get a data from Google Drive. But I haven’t
> figured out how to use post() -function. There is no QByteArray o
Hello,
Qt 5.8 contains new QtNetwork Auth module (as a technology preview). I
successfully login to Google and get a data from Google Drive. But I haven’t
figured out how to use post() -function. There is no QByteArray or
QHttpMultiPart arguments but only QVariantMap. How I can send data with