summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-18 17:03:29 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-18 17:03:29 +0800
commitb8abc72adace7cb7585f684db805ec26a9d055fb (patch)
tree60b7ca14a8de04450c211e4c6a8a681008e7f4f3 /images
parent7fef4557d0dcda50d6fa7f4da49902caec1f1752 (diff)
downloaddocs-b8abc72adace7cb7585f684db805ec26a9d055fb.tar.gz
docs-b8abc72adace7cb7585f684db805ec26a9d055fb.tar.bz2
docs-b8abc72adace7cb7585f684db805ec26a9d055fb.zip
challenger arch picture
Diffstat (limited to 'images')
-rw-r--r--images/Makefile4
-rw-r--r--images/challenger.dot26
2 files changed, 29 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile
index 9ec833e7..56f9fbac 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -1,7 +1,9 @@
-diagrams: arch-api.png coin.png deposit.png reserve.png transaction-common-states.png transaction-withdrawal-states.png transaction-payment-states.png transaction-refund-states.png transaction-refresh-states.png transaction-reward-states.png transaction-deposit-states.png transaction-push-debit-states.png transaction-push-credit-states.png transaction-pull-credit-states.png transaction-pull-debit-states.png
+diagrams: arch-api.png coin.png deposit.png reserve.png transaction-common-states.png transaction-withdrawal-states.png transaction-payment-states.png transaction-refund-states.png transaction-refresh-states.png transaction-reward-states.png transaction-deposit-states.png transaction-push-debit-states.png transaction-push-credit-states.png transaction-pull-credit-states.png transaction-pull-debit-states.png challenger.png
arch-api.png: arch-api.dot
dot -Tpng arch-api.dot > arch-api.png
+challenger.png: challenger.dot
+ dot -Tpng challenger.dot > challenger.png
transaction-common-states.png: transaction-common-states.dot
dot -Tpng transaction-common-states.dot > transaction-common-states.png
transaction-withdrawal-states.png: transaction-withdrawal-states.dot
diff --git a/images/challenger.dot b/images/challenger.dot
new file mode 100644
index 00000000..d3072fc7
--- /dev/null
+++ b/images/challenger.dot
@@ -0,0 +1,26 @@
+digraph G {
+
+ user[label="Resource\nOwner"];
+ exchange[label="Client"];
+ messenger[label="Messaging service"];
+ challenger [label="Challenger HTTPD"];
+ helper [label="Helper script"];
+ DBMS [label="Postgres\nDBMS"];
+ subgraph cluster_0 {
+ challenger;
+ helper;
+ DBMS;
+ label="Challenger OAuth 2.0 service";
+ }
+ user->exchange[label="0. request that\nrequires\nvalidated\naddress"];
+ exchange->challenger[label="1. authorize\naddress\nvalidation"];
+ user->challenger[label="2. Claimed\naddress"];
+ challenger->DBMS;
+ DBMS->challenger;
+ challenger->helper[label="3. TAN code\n+ address"];
+ helper->messenger[label="4. TAN code\n+ address"];
+ messenger->user[label="5. TAN code"];
+ user->challenger[label="6. TAN\ncode"];
+ user->exchange[label="7. Token"];
+ exchange->challenger[label="8. Get\nvalidated\naddress"];
+}