taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit a85ae5e93c4f3587b32e72c909115a328019f857
parent 00416a79f21f0d9b910dcf508a856a45562119d2
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
Date:   Wed, 28 Oct 2020 13:52:51 +0100

mod anastasis reducer api

Diffstat:
Manastasis.rst | 142+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 142 insertions(+), 0 deletions(-)

diff --git a/anastasis.rst b/anastasis.rst @@ -899,6 +899,84 @@ Backup Reducer The illustration above shows the different states the reducer can have during a backup process. +In the following, the individual transitions in the backup process will be specified in more detail. + +**select_continent:** + +Arguments (example): +:: + + { + "continent": "Europe" + } + + +**select_country:** + +Arguments (example): +:: + + { + "country": "Germany", + "country_code": "de", + "currency": "EUR" + } + + +**enter_user_attributes:** + +Arguments (example): +:: + + { + "identity_attributes": { + "full_name": "Max Musterman", + "social_security_number": "123456789", + "birth_year": "2000", + "birth_month": "01", + "birth_day": "01" + } + } + + +**add_policy:** + +Arguments (example): +:: + + { + "policy": [1, 3] //index of authentication method + } + + +**del_policy:** + +Arguments (example): +:: + + { + "policy": [1, 3] //index of authentication method + } + + +**enter_secret:** + +Arguments (example): +:: + + { + "secret": "someverysecretsecret", + "type": "password" + } + +- type: *password* (secret is a password or passphrase) +- type: *data* (secret must be a Crockford-Base32 encoded string of some data, e.g. a private key) + + +**next**, **back**, **pay:** + +No Arguments needed. + Recovery Reducer ^^^^^^^^^^^^^^^^ @@ -913,6 +991,70 @@ Recovery Reducer The illustration above shows the different states the reducer can have during a recovery process. +In the following, the individual transitions in the backup process will be specified in more detail. + +**select_continent:** + +Arguments (example): +:: + + { + "continent": "Europe" + } + + +**select_country:** + +Arguments (example): +:: + + { + "country": "Germany", + "country_code": "de", + "currency": "EUR" + } + + +**enter_user_attributes:** + +Arguments (example): +:: + + { + "identity_attributes": { + "full_name": "Max Musterman", + "social_security_number": "123456789", + "birth_year": "2000", + "birth_month": "01", + "birth_day": "01" + } + } + + +**select_challenge:** + +Arguments (example): +:: + + { + "challenge_index": 1 + } + + +**solve_challenge:** + +Arguments (example): +:: + + { + "challenge_index": 1, + "solution": "answer to secure question" + } + + +**back**, **pay:** + +No Arguments needed. .. _anastasis-auth-methods: