blob: 3941e9c0c9839a64fd78aef4b9b806086570aeb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#include "openid.h"
#include <QtCore/QStringBuilder>
using namespace Quotient;
RequestOpenIdTokenJob::RequestOpenIdTokenJob(const QString& userId,
const QJsonObject& body)
: BaseJob(HttpVerb::Post, QStringLiteral("RequestOpenIdTokenJob"),
QStringLiteral("/_matrix/client/r0") % "/user/" % userId
% "/openid/request_token")
{
setRequestData(Data(toJson(body)));
}
|