blob: 8d4a34ae0b379005079edea41f930357c16d9161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#include "refresh.h"
using namespace Quotient;
RefreshJob::RefreshJob(const QString& refreshToken)
: BaseJob(HttpVerb::Post, QStringLiteral("RefreshJob"),
makePath("/_matrix/client/v3", "/refresh"), false)
{
QJsonObject _data;
addParam<IfNotEmpty>(_data, QStringLiteral("refresh_token"), refreshToken);
setRequestData(std::move(_data));
addExpectedKey("access_token");
}
|