diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-15 11:53:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-15 11:53:51 +0200 |
commit | eabd8e45715a2d2c76f8eb8a99e09981b8a1b254 (patch) | |
tree | 02a8e573b15a5a4d7ecc806b12bdf524d50f5638 /src/include | |
parent | 7d9f1fbec3fcf1d38fe7d7cf89dfb7b8d8128775 (diff) | |
download | anastasis-eabd8e45715a2d2c76f8eb8a99e09981b8a1b254.tar.gz anastasis-eabd8e45715a2d2c76f8eb8a99e09981b8a1b254.tar.bz2 anastasis-eabd8e45715a2d2c76f8eb8a99e09981b8a1b254.zip |
-note left-over todos
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/anastasis_service.h | 14 |
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; }; |