summaryrefslogtreecommitdiff
path: root/service/diagrams/forgot_password.txt
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-03-22 09:52:04 -0300
committerAnike Arni <aarni@thoughtworks.com>2017-03-22 09:52:04 -0300
commit2139c40daf24bdea0010b2c01513a2522a416616 (patch)
treee610dac5b837e7a1d3023897a26a7e8c0db6a161 /service/diagrams/forgot_password.txt
parent3cca4fdf9e712145a71432ffe0e2d63f0dfec211 (diff)
Add account recovery plantuml diagrams
Diffstat (limited to 'service/diagrams/forgot_password.txt')
-rw-r--r--service/diagrams/forgot_password.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/service/diagrams/forgot_password.txt b/service/diagrams/forgot_password.txt
new file mode 100644
index 00000000..2a303ddc
--- /dev/null
+++ b/service/diagrams/forgot_password.txt
@@ -0,0 +1,35 @@
+title Forgot Password Flow
+
+actor User
+
+User -> PixUA : recovery code and new password
+
+PixUA -> BonafideClient : //handshake//
+PixUA -> BonafideClient : recovery code and new password
+note right
+ generate salt and verifier
+end note
+
+BonafideClient -> LeapWebapp : recovery code and new password
+note right
+ authenticate
+ save new password
+end note
+
+LeapWebapp -> BonafideClient
+BonafideClient -> PixUA
+
+alt successful case
+ PixUA -> SoledadClient : new password
+ note right : save secret with new password
+ SoledadClient -> PixUA
+
+ alt successful case
+ PixUA -> User : confirmation page
+ note left: start backup account flow
+ else soledad failure
+ PixUA -> User : error message
+ end
+else bonafide failure
+ PixUA -> User : error message
+end