aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/cross_signing.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/cross_signing.h')
-rw-r--r--lib/csapi/cross_signing.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/csapi/cross_signing.h b/lib/csapi/cross_signing.h
index 617b61d1..6cea73e6 100644
--- a/lib/csapi/cross_signing.h
+++ b/lib/csapi/cross_signing.h
@@ -4,6 +4,7 @@
#pragma once
+#include "csapi/definitions/auth_data.h"
#include "csapi/definitions/cross_signing_key.h"
#include "jobs/basejob.h"
@@ -35,11 +36,16 @@ public:
* the accompanying master key, or by the user\'s most recently
* uploaded master key if no master key is included in the
* request.
+ *
+ * \param auth
+ * Additional authentication information for the
+ * user-interactive authentication API.
*/
explicit UploadCrossSigningKeysJob(
const Omittable<CrossSigningKey>& masterKey = none,
const Omittable<CrossSigningKey>& selfSigningKey = none,
- const Omittable<CrossSigningKey>& userSigningKey = none);
+ const Omittable<CrossSigningKey>& userSigningKey = none,
+ const Omittable<AuthenticationData>& auth = none);
};
/*! \brief Upload cross-signing signatures.
@@ -55,7 +61,7 @@ public:
* The signatures to be published.
*/
explicit UploadCrossSigningSignaturesJob(
- const QHash<QString, QHash<QString, QJsonObject>>& signatures = {});
+ const QHash<QString, QHash<QString, QJsonObject>>& signatures);
// Result properties