1 | /****************************************************************************** |
2 | * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN |
3 | */ |
4 | |
5 | #include "openid.h" |
6 | |
7 | using namespace Quotient; |
8 | |
9 | RequestOpenIdTokenJob::RequestOpenIdTokenJob(const QString& userId, |
10 | const QJsonObject& body) |
11 | : BaseJob(HttpVerb::Post, QStringLiteral("RequestOpenIdTokenJob" ), |
12 | makePath(parts: "/_matrix/client/v3" , parts: "/user/" , parts: userId, |
13 | parts: "/openid/request_token" )) |
14 | { |
15 | setRequestData({ toJson(pod: body) }); |
16 | } |
17 | |