37 immer::map<std::string, ThirdPartyProtocol>
data()
const
40 std::move(
jsonBody().get()).get<immer::map<std::string, ThirdPartyProtocol>>()
56 , std::string _accessToken
100 bool success()
const;
130 , std::string _accessToken
152 using namespace Kazv;
181 bool success()
const;
188 immer::array<ThirdPartyLocation>
data()
const
191 std::move(jsonBody().get()).get<immer::array<ThirdPartyLocation>>()
215 , std::string _accessToken
217 std::string protocol , std::optional<std::string> searchFields = std::nullopt
222 std::optional<std::string> searchFields);
224 static BaseJob::Body buildBody(std::string protocol, std::optional<std::string> searchFields);
237 using namespace Kazv;
260 bool success()
const;
267 immer::array<ThirdPartyUser>
data()
const
270 std::move(jsonBody().get()).get<immer::array<ThirdPartyUser>>()
293 , std::string _accessToken
295 std::string protocol , std::optional<std::string> fields = std::nullopt
300 std::optional<std::string> fields);
302 static BaseJob::Body buildBody(std::string protocol, std::optional<std::string> fields);
315 using namespace Kazv;
338 bool success()
const;
345 immer::array<ThirdPartyLocation>
data()
const
348 std::move(jsonBody().get()).get<immer::array<ThirdPartyLocation>>()
368 , std::string _accessToken
390 using namespace Kazv;
412 bool success()
const;
419 immer::array<ThirdPartyUser>
data()
const
422 std::move(jsonBody().get()).get<immer::array<ThirdPartyUser>>()
442 , std::string _accessToken
464 using namespace Kazv;
Definition: third_party_lookup.hpp:26
bool success() const
Definition: third_party_lookup.cpp:70
immer::map< std::string, ThirdPartyProtocol > data() const
The protocols supported by the homeserver.
Definition: third_party_lookup.hpp:37
JobResponse(Response r)
Definition: third_party_lookup.cpp:67
Retrieve metadata about all protocols that a homeserver supports.
Definition: third_party_lookup.hpp:20
static constexpr auto needsAuth()
Definition: third_party_lookup.hpp:46
static BaseJob::Body buildBody()
Definition: third_party_lookup.cpp:21
GetProtocolsJob(std::string serverUrl, std::string _accessToken)
Retrieve metadata about all protocols that a homeserver supports.
Definition: third_party_lookup.cpp:33
static BaseJob::Query buildQuery()
Definition: third_party_lookup.cpp:13
GetProtocolsJob withData(JsonWrap j) &&
Definition: third_party_lookup.cpp:53
Definition: third_party_lookup.hpp:334
immer::array< ThirdPartyLocation > data() const
All found third party locations.
Definition: third_party_lookup.hpp:345
Reverse-lookup third party locations given a Matrix room alias.
Definition: third_party_lookup.hpp:328
static constexpr auto needsAuth()
Definition: third_party_lookup.hpp:354
Definition: third_party_lookup.hpp:177
immer::array< ThirdPartyLocation > data() const
At least one portal room was found.
Definition: third_party_lookup.hpp:188
Retrieve Matrix-side portals rooms leading to a third party location.
Definition: third_party_lookup.hpp:171
static constexpr auto needsAuth()
Definition: third_party_lookup.hpp:197
Definition: third_party_lookup.hpp:408
immer::array< ThirdPartyUser > data() const
An array of third party users.
Definition: third_party_lookup.hpp:419
Reverse-lookup third party users given a Matrix User ID.
Definition: third_party_lookup.hpp:402
static constexpr auto needsAuth()
Definition: third_party_lookup.hpp:428
Definition: third_party_lookup.hpp:256
immer::array< ThirdPartyUser > data() const
The Matrix User IDs found with the given parameters.
Definition: third_party_lookup.hpp:267
Retrieve the Matrix User ID of a corresponding third party user.
Definition: third_party_lookup.hpp:250
static constexpr auto needsAuth()
Definition: third_party_lookup.hpp:276
Definition: basejob.hpp:91
Definition: basejob.hpp:77
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: jsonwrap.hpp:23
Definition: location.hpp:10
Definition: location.hpp:10
Definition: location.hpp:27
Definition: protocol.hpp:120
Definition: basejob.hpp:50
JsonWrap jsonBody() const
Definition: basejob.cpp:139