summaryrefslogtreecommitdiff
path: root/service/diagrams/forgot_password.puml
blob: bfa746b88059ee592c96493a648f7e3b3db1171c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@startuml
title Forgot Password Flow

skinparam handwritten false
skinparam sequenceGroupBorderColor LightGrey

skinparam sequence {
	ArrowColor Black
	ActorBorderColor DeepSkyBlue
	LifeLineBorderColor blue
	LifeLineBackgroundColor #A9DCDF

	ParticipantBorderColor DeepSkyBlue
	ParticipantBackgroundColor White
	ParticipantFontName Impact
	ParticipantFontSize 17
	ParticipantFontColor Grey

	ActorBackgroundColor aqua
	ActorFontColor DeepSkyBlue
	ActorFontSize 17
	ActorFontName Aapex
}

actor User

User -> PixUA : Submit recovery code and new password
alt submit successful

    PixUA -> BonafideClient : //Handshake//
    alt Handshake Successful

        PixUA -> BonafideClient : Generate Salt & Verifier
        alt Salt & Verifier Generation Successful

            BonafideClient -> LeapWebapp : Authenticate & Save New Password
            alt New Password Saved
                LeapWebapp -> BonafideClient : New Password Success
                BonafideClient -> PixUA : New Password Success

                PixUA -> SoledadClient : Save Secret With New Password
                alt Bonafide secret & new password saved successfully
                  SoledadClient -> PixUA : Secret saved successfully
                  PixUA -> User : Redirect To Confirmation Page
                else soledad failure
                  PixUA -> User : Error Message
                end

            else bonafide failure
                LeapWebapp -> BonafideClient : New Password Not Saved
                BonafideClient -> PixUA : New Password Not Saved
                PixUA -> User : Error Message
            end

        else Salt & Verifier Generation Error
            BonafideClient -> PixUA : Salt Generation Error
            PixUA -> User : Error Message
        end

    else Handshake Failure
        BonafideClient -> PixUA : Handshake Failure
        PixUA -> User : Error Message
    end

else submit failure
    PixUA -> User : Error Message
end
@enduml