aboutsummaryrefslogtreecommitdiff
path: root/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt')
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt
new file mode 100644
index 000000000000..cb63b5e1fe87
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt
@@ -0,0 +1,63 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-QUESTION-OTP-data:
+
+KRB5_RESPONDER_QUESTION_OTP
+===========================
+
+..
+.. data:: KRB5_RESPONDER_QUESTION_OTP
+..
+
+OTP responder question.
+
+The OTP responder question is asked when the KDC indicates that an OTP value is required in order to complete the authentication. The JSON format of the challenge is:
+
+*{*
+
+*"service": <string (optional)>,*
+
+*"tokenInfo": [*
+
+*{*
+
+*"flags": <number>,*
+
+*"vendor": <string (optional)>,*
+
+*"challenge": <string (optional)>,*
+
+*"length": <number (optional)>,*
+
+*"format": <number (optional)>,*
+
+*"tokenID": <string (optional)>,*
+
+*"algID": <string (optional)>,*
+
+*},*
+
+*...*
+
+*]*
+
+*}*
+
+The answer to the question MUST be JSON formatted:
+
+*{*
+
+*"tokeninfo": <number>,*
+
+*"value": <string (optional)>,*
+
+*"pin": <string (optional)>,*
+
+*}*
+
+For more detail, please see RFC 6560.
+
+
+================================== ======================
+``KRB5_RESPONDER_QUESTION_OTP`` ``"otp"``
+================================== ======================