From 4067891ed9f66eb5e47a709d3ea21c2ed36a1e86 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Aug 2021 13:52:16 +0200 Subject: modify lib/ to pass 202 status back to reducer --- src/include/anastasis.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/anastasis.h b/src/include/anastasis.h index f9782fd..8443eb6 100644 --- a/src/include/anastasis.h +++ b/src/include/anastasis.h @@ -138,7 +138,14 @@ enum ANASTASIS_ChallengeStatus * challenge in time. The request should be repeated * later and may then succeed. */ - ANASTASIS_CHALLENGE_STATUS_AUTH_TIMEOUT + ANASTASIS_CHALLENGE_STATUS_AUTH_TIMEOUT, + + /** + * Plugin-specific ("external") instructions for how to solve the + * challenge are provided. + */ + ANASTASIS_CHALLENGE_STATUS_EXTERNAL_INSTRUCTIONS + }; @@ -166,7 +173,8 @@ struct ANASTASIS_ChallengeStartResponse /** * Challenge details provided if - * @e cs is #ANASTASIS_CHALLENGE_STATUS_INSTRUCTIONS. + * @e cs is #ANASTASIS_CHALLENGE_STATUS_INSTRUCTIONS + * or #ANASTASIS_CHALLENGE_STATUS_EXTERNAL_INSTRUCTIONS. */ struct { -- cgit v1.2.3