commit 79155838c0e731026b75bb0e7131c69abd7cbfb0
parent cba7cc9b868a2a120849aadd4029510354428c40
Author: Sebastian <sebasjm@gmail.com>
Date: Thu, 10 Apr 2025 12:26:15 -0300
using GANA attributes for challenger
Diffstat:
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/core/api-challenger.rst b/core/api-challenger.rst
@@ -101,7 +101,7 @@ Receiving Configuration
.. http:get:: /config
Obtain the key configuration settings of the storage service.
- This specification corresponds to ``current`` protocol being version **5**.
+ This specification corresponds to ``current`` protocol being version **6**.
**Response:**
@@ -133,8 +133,14 @@ Receiving Configuration
// the user. See "ADDRESS_RESTRICTIONS" in the challenger configuration.
restrictions: Object;
- // @since **v2**.
- address_type: "email" | "phone";
+ // @since **v6**
+ // Defines the set of fields asked to the user.
+ // The field names are registered via `GANA <https://git.taler.net/gana.git/tree/gnu-taler-form-attributes>`_
+ // email: CONTACT_EMAIL
+ // phone: CONTACT_PHONE
+ // postal: CONTACT_PERSON_NAME, ADDRESS_LINES, ADDRESS_COUNTRY
+ // postal-ch: CONTACT_PERSON_NAME, ADDRESS_LINES
+ address_type: "email" | "phone" | "postal" | "postal-ch";
}
.. _challenger-setup: