Skip to content

Commit 0234c14

Browse files
authored
New authentication patterns cheat sheet (#1746)
* initial version based on the blog post contents * moved the cheat sheet to the draft folder and markdownlint applied
1 parent 0494633 commit 0234c14

11 files changed

+822
-0
lines changed
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0" version="27.1.6">
2+
<diagram name="Page-1" id="vSZzm0c0lSDc5pFVxaaF">
3+
<mxGraphModel dx="1192" dy="771" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="P9exJsjkpcG24izdwx1V-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#6c8ebf;dashed=1;dashPattern=8 8;" parent="1" vertex="1">
8+
<mxGeometry x="560" y="30" width="200" height="200" as="geometry" />
9+
</mxCell>
10+
<mxCell id="fo6R8_58uPIGh2nn-8rE-17" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#6c8ebf;dashed=1;dashPattern=8 8;" parent="1" vertex="1">
11+
<mxGeometry x="250" y="61" width="240" height="138" as="geometry" />
12+
</mxCell>
13+
<mxCell id="P9exJsjkpcG24izdwx1V-12" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#6c8ebf;dashed=1;dashPattern=8 8;" parent="1" vertex="1">
14+
<mxGeometry x="600" y="62" width="150" height="138" as="geometry" />
15+
</mxCell>
16+
<mxCell id="aPNDeGo1sduExx9jBJkK-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.237;entryY=-0.003;entryDx=0;entryDy=0;startArrow=classic;startFill=1;fillColor=#dae8fc;strokeColor=#6c8ebf;entryPerimeter=0;" parent="1" source="aPNDeGo1sduExx9jBJkK-1" target="fo6R8_58uPIGh2nn-8rE-9" edge="1">
17+
<mxGeometry relative="1" as="geometry">
18+
<mxPoint x="442" y="166" as="targetPoint" />
19+
</mxGeometry>
20+
</mxCell>
21+
<mxCell id="aPNDeGo1sduExx9jBJkK-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" source="aPNDeGo1sduExx9jBJkK-1" target="aPNDeGo1sduExx9jBJkK-4" edge="1">
22+
<mxGeometry relative="1" as="geometry" />
23+
</mxCell>
24+
<mxCell id="aPNDeGo1sduExx9jBJkK-1" value="Authentication Mediation" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
25+
<mxGeometry x="276" y="87" width="190" height="50" as="geometry" />
26+
</mxCell>
27+
<mxCell id="aPNDeGo1sduExx9jBJkK-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=classic;startFill=1;fillColor=#dae8fc;strokeColor=#6c8ebf;entryX=-0.005;entryY=0.37;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="aPNDeGo1sduExx9jBJkK-2" target="fo6R8_58uPIGh2nn-8rE-17" edge="1">
28+
<mxGeometry relative="1" as="geometry">
29+
<mxPoint x="240" y="110" as="targetPoint" />
30+
</mxGeometry>
31+
</mxCell>
32+
<mxCell id="fo6R8_58uPIGh2nn-8rE-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;startArrow=classic;startFill=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="aPNDeGo1sduExx9jBJkK-2" target="fo6R8_58uPIGh2nn-8rE-9" edge="1">
33+
<mxGeometry relative="1" as="geometry">
34+
<mxPoint x="208" y="349" as="targetPoint" />
35+
<Array as="points">
36+
<mxPoint x="93" y="349" />
37+
</Array>
38+
</mxGeometry>
39+
</mxCell>
40+
<mxCell id="aPNDeGo1sduExx9jBJkK-2" value="Some Client&lt;br&gt;«Subject»" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
41+
<mxGeometry x="43" y="87" width="100" height="50" as="geometry" />
42+
</mxCell>
43+
<mxCell id="aPNDeGo1sduExx9jBJkK-4" value="Some Entity&lt;br&gt;«Object»" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
44+
<mxGeometry x="635" y="87" width="100" height="50" as="geometry" />
45+
</mxCell>
46+
<mxCell id="P9exJsjkpcG24izdwx1V-3" value="Microservice" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=none;fontColor=#6C8EBF;fontStyle=1" parent="1" vertex="1">
47+
<mxGeometry x="560" y="30" width="90" height="19" as="geometry" />
48+
</mxCell>
49+
<mxCell id="P9exJsjkpcG24izdwx1V-13" value="Your Code" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=none;fontColor=#6C8EBF;fontStyle=1" parent="1" vertex="1">
50+
<mxGeometry x="600" y="62" width="80" height="19" as="geometry" />
51+
</mxCell>
52+
<mxCell id="fo6R8_58uPIGh2nn-8rE-1" value="Identity Store" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
53+
<mxGeometry x="382" y="314" width="120" height="80" as="geometry" />
54+
</mxCell>
55+
<mxCell id="fo6R8_58uPIGh2nn-8rE-2" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" parent="1" vertex="1">
56+
<mxGeometry x="98" y="167" width="20" height="20" as="geometry" />
57+
</mxCell>
58+
<mxCell id="fo6R8_58uPIGh2nn-8rE-3" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
59+
<mxGeometry x="151" y="354" width="20" height="20" as="geometry" />
60+
</mxCell>
61+
<mxCell id="fo6R8_58uPIGh2nn-8rE-4" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" parent="1" vertex="1">
62+
<mxGeometry x="44" y="429" width="20" height="20" as="geometry" />
63+
</mxCell>
64+
<mxCell id="fo6R8_58uPIGh2nn-8rE-5" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
65+
<mxGeometry x="44" y="455" width="20" height="20" as="geometry" />
66+
</mxCell>
67+
<mxCell id="fo6R8_58uPIGh2nn-8rE-7" value="credentials" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
68+
<mxGeometry x="69" y="429" width="60" height="20" as="geometry" />
69+
</mxCell>
70+
<mxCell id="fo6R8_58uPIGh2nn-8rE-8" value="&lt;div align=&quot;left&quot;&gt;authentication proof&lt;/div&gt;" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
71+
<mxGeometry x="69" y="455" width="145" height="20" as="geometry" />
72+
</mxCell>
73+
<mxCell id="fo6R8_58uPIGh2nn-8rE-9" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#6c8ebf;dashed=1;dashPattern=8 8;" parent="1" vertex="1">
74+
<mxGeometry x="250" y="274" width="510" height="150" as="geometry" />
75+
</mxCell>
76+
<mxCell id="fo6R8_58uPIGh2nn-8rE-10" value="Identity Provider" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=none;fontColor=#6C8EBF;fontStyle=1" parent="1" vertex="1">
77+
<mxGeometry x="250" y="274" width="110" height="19" as="geometry" />
78+
</mxCell>
79+
<mxCell id="fo6R8_58uPIGh2nn-8rE-12" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
80+
<mxGeometry x="205" y="87" width="20" height="20" as="geometry" />
81+
</mxCell>
82+
<mxCell id="fo6R8_58uPIGh2nn-8rE-13" value="" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
83+
<mxGeometry x="378" y="154" width="20" height="20" as="geometry" />
84+
</mxCell>
85+
<mxCell id="fo6R8_58uPIGh2nn-8rE-18" value="&lt;div align=&quot;center&quot;&gt;Edge Proxy&lt;/div&gt;" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=none;fontColor=#6C8EBF;fontStyle=1" parent="1" vertex="1">
86+
<mxGeometry x="249" y="61" width="88" height="19" as="geometry" />
87+
</mxCell>
88+
<mxCell id="fo6R8_58uPIGh2nn-8rE-19" value="" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
89+
<mxGeometry x="510" y="90" width="16" height="16" as="geometry" />
90+
</mxCell>
91+
<mxCell id="fo6R8_58uPIGh2nn-8rE-20" value="" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
92+
<mxGeometry x="46" y="484" width="16" height="16" as="geometry" />
93+
</mxCell>
94+
<mxCell id="fo6R8_58uPIGh2nn-8rE-21" value="&lt;div&gt;identity context&lt;/div&gt;" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
95+
<mxGeometry x="69" y="482" width="145" height="20" as="geometry" />
96+
</mxCell>
97+
<mxCell id="fo6R8_58uPIGh2nn-8rE-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.059;entryY=1.015;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1.002;exitY=0.054;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;startFill=0;dashed=1;dashPattern=8 8;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" source="P9exJsjkpcG24izdwx1V-1" target="P9exJsjkpcG24izdwx1V-1" edge="1">
98+
<mxGeometry relative="1" as="geometry">
99+
<Array as="points">
100+
<mxPoint x="770" y="41" />
101+
<mxPoint x="770" y="240" />
102+
<mxPoint x="572" y="240" />
103+
</Array>
104+
</mxGeometry>
105+
</mxCell>
106+
<mxCell id="fo6R8_58uPIGh2nn-8rE-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.059;entryY=1.015;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1.002;exitY=0.054;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;startFill=0;dashed=1;dashPattern=8 8;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" edge="1">
107+
<mxGeometry relative="1" as="geometry">
108+
<mxPoint x="770" y="51" as="sourcePoint" />
109+
<mxPoint x="582" y="243" as="targetPoint" />
110+
<Array as="points">
111+
<mxPoint x="780" y="51" />
112+
<mxPoint x="780" y="250" />
113+
<mxPoint x="582" y="250" />
114+
</Array>
115+
</mxGeometry>
116+
</mxCell>
117+
<mxCell id="PV5oNP7hkTZPsKuvViVV-1" value="" style="endArrow=open;html=1;rounded=0;endFill=0;" edge="1" parent="1">
118+
<mxGeometry width="50" height="50" relative="1" as="geometry">
119+
<mxPoint x="230" y="97" as="sourcePoint" />
120+
<mxPoint x="245" y="97" as="targetPoint" />
121+
</mxGeometry>
122+
</mxCell>
123+
<mxCell id="PV5oNP7hkTZPsKuvViVV-2" value="" style="endArrow=open;html=1;rounded=0;endFill=0;" edge="1" parent="1">
124+
<mxGeometry width="50" height="50" relative="1" as="geometry">
125+
<mxPoint x="108" y="195" as="sourcePoint" />
126+
<mxPoint x="108" y="210" as="targetPoint" />
127+
</mxGeometry>
128+
</mxCell>
129+
<mxCell id="PV5oNP7hkTZPsKuvViVV-3" value="" style="endArrow=none;html=1;rounded=0;endFill=0;startArrow=open;startFill=0;" edge="1" parent="1">
130+
<mxGeometry width="50" height="50" relative="1" as="geometry">
131+
<mxPoint x="130" y="364" as="sourcePoint" />
132+
<mxPoint x="145" y="364" as="targetPoint" />
133+
</mxGeometry>
134+
</mxCell>
135+
<mxCell id="PV5oNP7hkTZPsKuvViVV-4" value="" style="curved=1;endArrow=none;html=1;rounded=0;dashed=1;dashPattern=8 8;startFill=0;fillColor=#f8cecc;strokeColor=#b85450;startSize=9;endSize=8;strokeWidth=2;" edge="1" parent="1">
136+
<mxGeometry width="50" height="50" relative="1" as="geometry">
137+
<mxPoint x="50" y="260" as="sourcePoint" />
138+
<mxPoint x="160" y="20" as="targetPoint" />
139+
<Array as="points">
140+
<mxPoint x="120" y="250" />
141+
<mxPoint x="185" y="140" />
142+
</Array>
143+
</mxGeometry>
144+
</mxCell>
145+
<mxCell id="PV5oNP7hkTZPsKuvViVV-5" value="" style="endArrow=open;html=1;rounded=0;endFill=0;" edge="1" parent="1">
146+
<mxGeometry width="50" height="50" relative="1" as="geometry">
147+
<mxPoint x="388" y="178" as="sourcePoint" />
148+
<mxPoint x="388" y="193" as="targetPoint" />
149+
</mxGeometry>
150+
</mxCell>
151+
<mxCell id="PV5oNP7hkTZPsKuvViVV-6" value="" style="endArrow=open;html=1;rounded=0;endFill=0;" edge="1" parent="1">
152+
<mxGeometry width="50" height="50" relative="1" as="geometry">
153+
<mxPoint x="533" y="99" as="sourcePoint" />
154+
<mxPoint x="548" y="99" as="targetPoint" />
155+
</mxGeometry>
156+
</mxCell>
157+
</root>
158+
</mxGraphModel>
159+
</diagram>
160+
</mxfile>

assets/Edge_Level_Authentication.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)