summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/anastasis_service.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/anastasis_service.h b/src/include/anastasis_service.h
index a08f25b..bec89d1 100644
--- a/src/include/anastasis_service.h
+++ b/src/include/anastasis_service.h
@@ -475,7 +475,13 @@ enum ANASTASIS_KeyShareDownloadStatus
* authentication check until the request timeout
* was reached. The client should try again later.
*/
- ANASTASIS_KSD_AUTHENTICATION_TIMEOUT
+ ANASTASIS_KSD_AUTHENTICATION_TIMEOUT,
+
+ /**
+ * The plugin provided external challenge instructions
+ * that should be followed. They are method-specific.
+ */
+ ANASTASIS_KSD_EXTERNAL_CHALLENGE_INSTRUCTIONS
};
@@ -584,6 +590,12 @@ struct ANASTASIS_KeyShareDownloadDetails
} server_failure;
+ /**
+ * External challenge instructions, if @e status is
+ * #ANASTASIS_KSD_EXTERNAL_CHALLENGE_INSTRUCTIONS.
+ */
+ const json_t *external_challenge;
+
} details;
};