Skip to content

Commit a2b8bac

Browse files
MahdiBaghbaniglpatcern
authored andcommitted
docs(diagrams): add code flow clarification maps
Signed-off-by: Mahdi Baghbani <mahdi-baghbani@azadehafzar.io>
1 parent 8d9384d commit a2b8bac

1 file changed

Lines changed: 19 additions & 22 deletions

File tree

diagrams/code-flow-role-binding.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
```mermaid
2-
flowchart LR
3-
subgraph A["Terms used by the spec"]
4-
A1["exchange-token in discovery"]
5-
A2["token-exchange in criteria"]
6-
A3["must-exchange-token on the share"]
7-
A4["tokenEndPoint in discovery"]
8-
end
2+
flowchart TD
3+
ET["exchange-token in discovery"]
4+
TX["token-exchange in criteria"]
5+
EP["tokenEndPoint in discovery"]
6+
MS["must-exchange-token on the share"]
97
10-
subgraph B["Reading this clarification proposes"]
11-
B1["Provider supports the code flow"]
12-
B2["As Sending Server, it hosts tokenEndPoint"]
13-
B3["As Receiving Server, it can honor strict inbound shares"]
14-
B4["Receiver side policy for inbound shares"]
15-
B5["Per share strict contract"]
16-
B6["Hosted by sender and called by receiver"]
17-
end
8+
ET --> P["One provider-level code-flow capability"]
9+
P --> S["Sending Server role"]
10+
P --> R["Receiving Server role"]
1811
19-
A1 --> B1
20-
B1 --> B2
21-
B1 --> B3
22-
A2 --> B4
23-
A3 --> B5
24-
A4 --> B6
25-
B4 --> B5
12+
S --> S1["Hosts tokenEndPoint"]
13+
EP --> S1
14+
15+
R --> R1["Can honor inbound strict shares"]
16+
R --> R2["Receiver policy for inbound shares"]
17+
TX --> R2
18+
R2 --> R3["If advertised, inbound shares must include must-exchange-token"]
19+
R3 --> MS
20+
21+
MS --> M1["Strict share contract"]
22+
M1 --> M2["Receiver must exchange sharedSecret before access"]
2623
```

0 commit comments

Comments
 (0)