aboutsummaryrefslogtreecommitdiff
path: root/src/include/anastasis_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/anastasis_service.h')
-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
475 * authentication check until the request timeout 475 * authentication check until the request timeout
476 * was reached. The client should try again later. 476 * was reached. The client should try again later.
477 */ 477 */
478 ANASTASIS_KSD_AUTHENTICATION_TIMEOUT 478 ANASTASIS_KSD_AUTHENTICATION_TIMEOUT,
479
480 /**
481 * The plugin provided external challenge instructions
482 * that should be followed. They are method-specific.
483 */
484 ANASTASIS_KSD_EXTERNAL_CHALLENGE_INSTRUCTIONS
479 485
480}; 486};
481 487
@@ -584,6 +590,12 @@ struct ANASTASIS_KeyShareDownloadDetails
584 590
585 } server_failure; 591 } server_failure;
586 592
593 /**
594 * External challenge instructions, if @e status is
595 * #ANASTASIS_KSD_EXTERNAL_CHALLENGE_INSTRUCTIONS.
596 */
597 const json_t *external_challenge;
598
587 } details; 599 } details;
588}; 600};
589 601