gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: mod anastasis reducer api


From: gnunet
Subject: [taler-docs] branch master updated: mod anastasis reducer api
Date: Wed, 28 Oct 2020 13:52:55 +0100

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new a85ae5e  mod anastasis reducer api
a85ae5e is described below

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

    mod anastasis reducer api
---
 anastasis.rst | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 142 insertions(+)

diff --git a/anastasis.rst b/anastasis.rst
index 74d5160..1e59a6b 100644
--- 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:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]