From eabd8e45715a2d2c76f8eb8a99e09981b8a1b254 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Aug 2021 11:53:51 +0200 Subject: -note left-over todos --- src/include/anastasis_service.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/include') 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; }; -- cgit v1.2.3