blob: 0447db7923decf0a1064fcffd72c66c830ea919e (
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(RequestData(toJson(body)));
}
|