62 , std::string _accessToken
64 std::optional<CrossSigningKey> masterKey = std::nullopt, std::optional<CrossSigningKey> selfSigningKey = std::nullopt, std::optional<CrossSigningKey> userSigningKey = std::nullopt, std::optional<AuthenticationData> auth = std::nullopt
71 static BaseJob::Body buildBody(std::optional<CrossSigningKey> masterKey, std::optional<CrossSigningKey> selfSigningKey, std::optional<CrossSigningKey> userSigningKey, std::optional<AuthenticationData> auth);
107 bool success()
const;
117 immer::map<std::string, immer::map<std::string, JsonWrap>> failures()
const;
134 , std::string _accessToken
136 immer::map<std::string, immer::map<std::string, JsonWrap>> signatures
143 static BaseJob::Body buildBody(immer::map<std::string, immer::map<std::string, JsonWrap>> signatures);
156 using namespace Kazv;
Definition: cross_signing.hpp:25
bool success() const
Definition: cross_signing.cpp:82
JobResponse(Response r)
Definition: cross_signing.cpp:79
Upload cross-signing keys.
Definition: cross_signing.hpp:19
static BaseJob::Query buildQuery()
Definition: cross_signing.cpp:13
static constexpr auto needsAuth()
Definition: cross_signing.hpp:32
UploadCrossSigningKeysJob withData(JsonWrap j) &&
Definition: cross_signing.cpp:65
static BaseJob::Body buildBody(std::optional< CrossSigningKey > masterKey, std::optional< CrossSigningKey > selfSigningKey, std::optional< CrossSigningKey > userSigningKey, std::optional< AuthenticationData > auth)
Definition: cross_signing.cpp:21
UploadCrossSigningKeysJob(std::string serverUrl, std::string _accessToken, std::optional< CrossSigningKey > masterKey=std::nullopt, std::optional< CrossSigningKey > selfSigningKey=std::nullopt, std::optional< CrossSigningKey > userSigningKey=std::nullopt, std::optional< AuthenticationData > auth=std::nullopt)
Upload cross-signing keys.
Definition: cross_signing.cpp:45
Definition: cross_signing.hpp:103
Upload cross-signing signatures.
Definition: cross_signing.hpp:97
static constexpr auto needsAuth()
Definition: cross_signing.hpp:120
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: basejob.hpp:50