keyfil/绘图/20250717-授权组件设计流程.drawio

98 lines
9.2 KiB
Plaintext
Raw Normal View History

<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/25.0.2 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36" version="25.0.2">
<diagram name="Page-1" id="2YBvvXClWsGukQMizWep">
<mxGraphModel dx="868" dy="576" 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">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="aM9ryv3xv72pqoxQDRHE-1" value="业务线" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=0;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="1" vertex="1">
<mxGeometry x="60" y="40" width="100" height="440" as="geometry" />
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-2" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="aM9ryv3xv72pqoxQDRHE-1" vertex="1">
<mxGeometry x="45" y="70" width="10" height="310" as="geometry" />
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-3" value="请求授权" style="html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;edgeStyle=elbowEdgeStyle;elbow=vertical;curved=0;rounded=0;" parent="aM9ryv3xv72pqoxQDRHE-1" target="aM9ryv3xv72pqoxQDRHE-2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-15" y="70" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-5" value="认证中心前端" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=0;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="1" vertex="1">
<mxGeometry x="280" y="40" width="100" height="440" as="geometry" />
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-6" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="aM9ryv3xv72pqoxQDRHE-5" vertex="1">
<mxGeometry x="45" y="80" width="10" height="280" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-5" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="aM9ryv3xv72pqoxQDRHE-5">
<mxGeometry x="50" y="170" width="10" height="40" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-6" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;跳转授权&lt;/font&gt;" style="html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;" edge="1" target="mIc7CyHy_PGnAQ7WKizZ-5" parent="aM9ryv3xv72pqoxQDRHE-5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="55" y="150" as="sourcePoint" />
<Array as="points">
<mxPoint x="85" y="180" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-7" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;重定向(&lt;/font&gt;&lt;span style=&quot;font-size: 9px;&quot;&gt;携带授权参数)&lt;/span&gt;" style="html=1;verticalAlign=bottom;endArrow=block;edgeStyle=elbowEdgeStyle;elbow=vertical;curved=0;rounded=0;" parent="1" source="aM9ryv3xv72pqoxQDRHE-2" target="aM9ryv3xv72pqoxQDRHE-6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="195" y="130" as="sourcePoint" />
<Array as="points">
<mxPoint x="180" y="120" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-8" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;重定向(携带授权参数和结果)&lt;/font&gt;" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;edgeStyle=elbowEdgeStyle;elbow=vertical;curved=0;rounded=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="115" y="396" as="targetPoint" />
<Array as="points">
<mxPoint x="190" y="396" />
</Array>
<mxPoint x="325" y="396" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-1" value="认证中心后端" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=0;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="500" y="40" width="100" height="440" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-2" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="mIc7CyHy_PGnAQ7WKizZ-1">
<mxGeometry x="45" y="100" width="10" height="50" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-7" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="mIc7CyHy_PGnAQ7WKizZ-1">
<mxGeometry x="45" y="223" width="10" height="107" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-10" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="mIc7CyHy_PGnAQ7WKizZ-1">
<mxGeometry x="50" y="266.5" width="10" height="40" as="geometry" />
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-11" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;授权获取Token&lt;/font&gt;" style="html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;" edge="1" target="mIc7CyHy_PGnAQ7WKizZ-10" parent="mIc7CyHy_PGnAQ7WKizZ-1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="55" y="246.5" as="sourcePoint" />
<Array as="points">
<mxPoint x="85" y="276.5" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-3" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;获取授权链接(携带参数)&lt;/font&gt;" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;" edge="1" parent="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="335" y="143" as="sourcePoint" />
<mxPoint x="545" y="143" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-4" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;授权链接&lt;/font&gt;" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="545" y="173" as="sourcePoint" />
<mxPoint x="335" y="173" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-8" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;授权回调携带codestate&lt;/font&gt;" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=5;" edge="1" target="mIc7CyHy_PGnAQ7WKizZ-7" parent="1" source="aM9ryv3xv72pqoxQDRHE-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="475" y="268" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="mIc7CyHy_PGnAQ7WKizZ-9" value="&lt;font style=&quot;font-size: 9px;&quot;&gt;返回授权结果和授权参数&lt;/font&gt;" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=-5;" edge="1" source="mIc7CyHy_PGnAQ7WKizZ-7" parent="1" target="aM9ryv3xv72pqoxQDRHE-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="475" y="338" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>