-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the provecontrol protocol documentation
- Loading branch information
1 parent
2f70688
commit 5e10b6b
Showing
3 changed files
with
127 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
did/shared/src/main/scala/fmgp/did/comm/protocol/provecontrol/UserRegister.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# User Register Protocol | ||
|
||
TODO | ||
|
||
## User Registration process of Extrenal Identity | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant W as Wallet | ||
participant R as Registy | ||
participant O as Another_DID | ||
Note over R: A DID that provide a service of connecting | ||
%% rect rgb(191, 180, 255) | ||
Note over W,O: Registration logic TODO | ||
W->>+R: 'registar' DID Comm over http | ||
R->>-W: 'registration_status' | ||
Note over W,O: Add Information logic | ||
W->>+R: 'add' DID Comm over http | ||
R->>R: check the VC ('fmgp.app/provecontrol/1/confirmverification') inside 'add' message. Must be valid and from a DID that is trust worth. | ||
R->>-W: 'registration_status' | ||
%% end | ||
%% rect rgb(191, 223, 200) | ||
Note over W,O: Query Logic | ||
O->>+R: Ask to get in connect with the extrenal Identity | ||
R->>+W: Infor the DID that controls the external identity | ||
R->>-O: Informed that external identity is or not Registered | ||
W->>-O: Start a conversation | ||
%% end | ||
%% rect rgb(191, 180, 255) | ||
%% end | ||
%% rect rgb(250, 223, 200) | ||
%% loop Do (M) Operations | ||
%% end | ||
%% end | ||
``` |