701 lines
58 KiB
Plaintext
701 lines
58 KiB
Plaintext
<mxfile host="65bd71144e">
|
||
<diagram id="YrEqY51DlFa1ZGKHTR-x" name="Страница — 1">
|
||
<mxGraphModel dx="1474" dy="1569" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||
<root>
|
||
<mxCell id="0"/>
|
||
<mxCell id="1" parent="0"/>
|
||
<mxCell id="685" value="Middleware\<br>AuthetnticateMagic" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="370" y="10" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="686" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="687" target="685">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="430" y="170" as="sourcePoint"/>
|
||
<mxPoint x="205" y="70" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="687" value="Сессия <br>стартована" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="375" y="200" width="110" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="688" value="" style="endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#000000;fillColor=#d5e8d4;strokeWidth=1;" edge="1" parent="1" source="687" target="818">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="510" y="280" as="sourcePoint"/>
|
||
<mxPoint x="540" y="350" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="689" value="Да" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="688">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="22" y="90" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="690" value="" style="endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fillColor=#fff2cc;strokeColor=#000000;strokeWidth=1;" edge="1" parent="1" source="687" target="721">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="250" y="360" as="sourcePoint"/>
|
||
<mxPoint x="320" y="350" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="691" value="Нет" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="690">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="17" y="-77" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="692" value="" style="endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=light-dark(#000000, #446e2c);fillColor=#d5e8d4;strokeWidth=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="818" target="694">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="460" y="590" as="sourcePoint"/>
|
||
<mxPoint x="420" y="520" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="693" value="Нет" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="692">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="-35" y="-27" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="694" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="347.5" y="460" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="695" value="" style="endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endFill=1;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="694" target="721">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="440" y="1075" as="sourcePoint"/>
|
||
<mxPoint x="205" y="560" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="696" value="" style="endArrow=classic;html=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#fff2cc;strokeColor=#000000;strokeWidth=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endFill=1;" edge="1" parent="1" source="818" target="822">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="665" y="580" as="sourcePoint"/>
|
||
<mxPoint x="520" y="510" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="697" value="Да" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="696">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="12" y="-55" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="698" value="Controller\<br>LoginController" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="740" y="10" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="699" value="" style="endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="721" target="701">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="505" y="550" as="sourcePoint"/>
|
||
<mxPoint x="840" y="560" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="370" y="550"/>
|
||
<mxPoint x="800" y="550"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="700" value="Проводим аутентификацию<br>&nbsp;через LDAP" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="699">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-129" y="-17" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="701" value="Аутентификация <br>LDAP успешна" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="728.75" y="560" width="142.5" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="702" value="" style="endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=light-dark(#000000, #446e2c);fillColor=#d5e8d4;strokeWidth=1;" edge="1" parent="1" source="701" target="705">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="880" y="660" as="sourcePoint"/>
|
||
<mxPoint x="918" y="720" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="703" value="Да" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="702">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="-28" y="-7" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="704" value="Session" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1100" y="10" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="705" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="789.38" y="665" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="706" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1150" y="665" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="707" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="705" target="706">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1000" y="674.5" as="sourcePoint"/>
|
||
<mxPoint x="1170" y="674.5" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="708" value="Помещаем <b><font style="font-size: 13px;">_auth_login</font></b> и <br><b><font style="font-size: 13px;">_auth_groups</font></b>&nbsp;в сессию" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="707">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-83" y="-27" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="709" value="" style="endArrow=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="769" target="760">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="920" y="850" as="sourcePoint"/>
|
||
<mxPoint x="909" y="820" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="710" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1150" y="315" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="711" value="" style="endArrow=classic;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;" edge="1" parent="1" source="710" target="818">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="990" y="760" as="sourcePoint"/>
|
||
<mxPoint x="550" y="380" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="712" value="web/api" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="-240" y="95" width="80" height="80" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="713" value="Middleware\<br>AuthetnticateMagicApi" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="130" y="5" width="135" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="714" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="187.5" y="115" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="715" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="714" target="713">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="250" y="230" as="sourcePoint"/>
|
||
<mxPoint x="240" y="100" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="716" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="712" target="714">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="110" y="120" as="sourcePoint"/>
|
||
<mxPoint x="90" y="200" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="717" value="api ендпоинт" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="716">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-156" y="-12" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="718" value="" style="endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;jumpStyle=arc;" edge="1" parent="1" source="712" target="687">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="130" y="160" as="sourcePoint"/>
|
||
<mxPoint x="420" y="190" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="719" value="web роут" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="718">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-317" y="-14" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="720" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="772" target="714">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="245" y="500" as="sourcePoint"/>
|
||
<mxPoint x="244.5" y="220" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="721" value="views\login" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
|
||
<mxGeometry x="240" y="535" width="140" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="722" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="701" target="698">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="800" y="530" as="sourcePoint"/>
|
||
<mxPoint x="390" y="80" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="723" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="710" target="704">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="860" y="540" as="sourcePoint"/>
|
||
<mxPoint x="860" y="80" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="1160" y="220"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="724" value="" style="endArrow=none;dashed=1;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="816" target="706">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1170" y="385" as="sourcePoint"/>
|
||
<mxPoint x="1150" y="510" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="725" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.375;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;endArrow=none;endFill=0;dashed=1;" edge="1" parent="1" source="726" target="763">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1560" y="40" as="sourcePoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="726" value="users" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1">
|
||
<mxGeometry x="1490" width="60" height="80" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="727" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="729" target="726">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1260" y="600" as="sourcePoint"/>
|
||
<mxPoint x="1100" y="80" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="728" value="" style="edgeStyle=none;html=1;dashed=1;endArrow=none;endFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="729" target="805">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1537.2727272727275" y="930" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="729" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1510" y="745" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="730" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="790" y="745" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="731" value="" style="endArrow=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="730" target="705">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="930" y="850" as="sourcePoint"/>
|
||
<mxPoint x="930" y="660" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="732" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;jumpStyle=arc;" edge="1" parent="1" source="730" target="729">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="990" y="640" as="sourcePoint"/>
|
||
<mxPoint x="1160" y="640" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="733" value="Создаем запись с логином пользователя в модели users, <br>если аутентификация проходит впервые<br>(нужно для работы Sanctum)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=light-dark(#FFFFFF,#EDEDED);" vertex="1" connectable="0" parent="732">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-235" y="-27" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="734" value="personal_access_tokens" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1">
|
||
<mxGeometry x="1640" y="5" width="160" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="735" value="модель с токенами <br>доступа Sanctum" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="1655" y="-40" width="130" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="736" value="" style="edgeStyle=none;html=1;endArrow=none;endFill=0;" edge="1" parent="1" source="737" target="760">
|
||
<mxGeometry relative="1" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="737" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="790.62" y="830" width="20" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="738" value="" style="endArrow=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="730" target="737">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="930" y="970" as="sourcePoint"/>
|
||
<mxPoint x="1020" y="890" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="739" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="741" target="734">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1320" y="730" as="sourcePoint"/>
|
||
<mxPoint x="1320" y="80" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="740" value="" style="edgeStyle=none;html=1;endArrow=none;endFill=0;dashed=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="741" target="800">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1720" y="930" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="741" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1710" y="830" width="20" height="65" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="742" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;jumpStyle=arc;" edge="1" parent="1" source="737" target="741">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="990" y="750" as="sourcePoint"/>
|
||
<mxPoint x="1380" y="750" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="743" value="Создаем запись с токеном доступа Sanctum.<br>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="742">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-369" y="-19" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="744" value="" style="endArrow=classic;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;endFill=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="1" source="694" target="816">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="440" y="1040" as="sourcePoint"/>
|
||
<mxPoint x="1122" y="920" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="745" value="Кладем в сессию параметр _<b><font style="font-size: 13px;">auth_prev_page</font></b> со значением URL, <br>на который&nbsp;<span style="color: rgb(0, 0, 0);">перекинем пользователя&nbsp;</span>после аутентификации&nbsp;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="744">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-259" y="-22" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="746" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="747" target="758">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="717" y="1320" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="747" value="views\menu" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
|
||
<mxGeometry x="600" y="1247" width="120" height="34.5" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="748" value="адрес страницы <br>есть?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="728.13" y="1115" width="142.5" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="749" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1150" y="1130" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="750" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="759" target="749">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1170" y="900" as="sourcePoint"/>
|
||
<mxPoint x="1170" y="660" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="751" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;jumpStyle=arc;startArrow=classic;startFill=1;" edge="1" parent="1" source="748" target="749">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="990" y="750" as="sourcePoint"/>
|
||
<mxPoint x="1380" y="750" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="752" value="Запрашиваем url страницы <br>откуда пришел пользователь<br><b><font style="font-size: 13px;">auth_prev_page</font></b>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;textShadow=0;" vertex="1" connectable="0" parent="751">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-49" y="-37" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="753" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="688.75" y="1115" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="754" value="" style="endArrow=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="756" target="748">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="918.62" y="1238" as="sourcePoint"/>
|
||
<mxPoint x="921" y="1190" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="755" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="756" target="758">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<Array as="points">
|
||
<mxPoint x="801" y="1360"/>
|
||
<mxPoint x="725" y="1360"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="756" value="views\{url}" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
|
||
<mxGeometry x="740" y="1246.5" width="121.25" height="33.5" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="757" value="Редирект на url откуда <br>пришел пользователь" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="860" y="1243.25" width="150" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="758" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
||
<mxGeometry x="700" y="1435" width="50" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="759" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1150" y="940" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="760" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="790" y="940" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="761" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;jumpStyle=arc;startArrow=none;startFill=0;" edge="1" parent="1" source="760" target="759">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1051" y="1094" as="sourcePoint"/>
|
||
<mxPoint x="1160" y="1094" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="762" value="Кладем в сессию <br>параметр <font style="font-size: 13px;"><b>is_admin</b></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=light-dark(#FFFFFF,#EDEDED);" vertex="1" connectable="0" parent="761">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-84" y="-22" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="763" value="id &lt;=&gt; tokenable_id" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1530" y="125" width="140" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="764" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.625;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;dashed=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="734" target="763">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1560" y="63" as="sourcePoint"/>
|
||
<mxPoint x="1571" y="165" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="765" value="Cookie" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1300" y="10" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="766" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="767" target="773">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1270" y="330" as="sourcePoint"/>
|
||
<mxPoint x="1130" y="80" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="767" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1350" y="1030" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="768" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="769" target="748">
|
||
<mxGeometry relative="1" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="769" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="789.38" y="1030" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="770" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;jumpStyle=arc;startArrow=none;startFill=0;" edge="1" parent="1" source="769" target="767">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="990" y="970" as="sourcePoint"/>
|
||
<mxPoint x="1160" y="970" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="771" value="Кладем в куки <b><font style="font-size: 13px;">sanctum_token</font></b><br>для автоматической подстановки его в заголовки <br>при api запросах с фронта" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=light-dark(#FFFFFF,#EDEDED);" vertex="1" connectable="0" parent="770">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-159" y="-37" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="772" value="URL запроса содержит api/ &amp;&amp; <br>в куках есть sanctum_token&nbsp;" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="85" y="752.5" width="230" height="105" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="773" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1350" y="785" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="774" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="765" target="773">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1420" y="350" as="sourcePoint"/>
|
||
<mxPoint x="1380" y="660" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="775" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;exitX=1;exitY=0.5;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" edge="1" parent="1" source="772" target="773">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="950" y="690" as="sourcePoint"/>
|
||
<mxPoint x="1590" y="750" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="776" value="Заголовки запроса" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="-70" y="10" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="777" value="" style="endArrow=none;dashed=1;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="779" target="776">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="80" y="340" as="sourcePoint"/>
|
||
<mxPoint x="255" y="80" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="778" value="" style="edgeStyle=none;html=1;dashed=1;endArrow=none;endFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="779" target="789">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="80" y="850" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="779" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="-19" y="796" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="780" value="" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="781" target="790">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="245" y="910" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="781" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="190" y="890" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="782" value="Стандартная <br>аутентификация <br>Sanctum" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="207.5" y="870" width="120" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="783" value="" style="endArrow=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="781" target="772">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="90" y="720" as="sourcePoint"/>
|
||
<mxPoint x="140" y="470" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="784" value="" style="endArrow=classic;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="1" source="772" target="779">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="415" y="750" as="sourcePoint"/>
|
||
<mxPoint x="40" y="680" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="785" value="Добавляем в заголовки <br>запроса sanctum_token, <br>без него аутентификация <br>Sanctum не пройдет" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="784">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-138" y="12" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="786" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="35" y="780" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="787" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="200" y="850" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="788" value="" style="endArrow=classic;html=1;edgeStyle=orthogonalEdgeStyle;entryX=0.5;entryY=0;entryDx=0;entryDy=0;jumpStyle=arc;exitX=1;exitY=0.75;exitDx=0;exitDy=0;" edge="1" parent="1" source="779" target="781">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="90" y="740" as="sourcePoint"/>
|
||
<mxPoint x="80" y="740" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="1" y="827"/>
|
||
<mxPoint x="30" y="827"/>
|
||
<mxPoint x="30" y="870"/>
|
||
<mxPoint x="200" y="870"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="789" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="-19" y="975" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="790" value="В заголовках есть <br>Authorization токен sanctum?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="100" y="960" width="200" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="791" value="" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" edge="1" parent="1" source="790" target="789">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="255" y="860" as="sourcePoint"/>
|
||
<mxPoint x="255" y="920" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="792" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="790" target="794">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="235" y="1040" as="sourcePoint"/>
|
||
<mxPoint x="235" y="1100" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="200" y="1050"/>
|
||
<mxPoint x="85" y="1050"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="793" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="130" y="1025" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="794" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
|
||
<mxGeometry x="60" y="1440" width="50" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="795" value="response <br>с 401 ошибкой" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="30" y="1490" width="100" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="796" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="790" target="802">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="255" y="990" as="sourcePoint"/>
|
||
<mxPoint x="300" y="1250" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="355" y="995"/>
|
||
<mxPoint x="355" y="1060"/>
|
||
<mxPoint x="200" y="1060"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="797" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="300" y="970" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="798" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;startArrow=classic;startFill=1;" edge="1" parent="1" source="800" target="805">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1720" y="1290" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="1760" y="1210"/>
|
||
<mxPoint x="1760" y="1280"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="799" value="" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=none;endFill=0;dashed=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="800" target="827">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1721" y="1400" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="800" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1710" y="1190.25" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="801" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;" edge="1" parent="1" source="802" target="800">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1200" y="1230" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="510" y="1114"/>
|
||
<mxPoint x="510" y="1210"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="802" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="165" y="1082.5" width="70" height="62.5" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="803" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="802" target="794">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="255" y="990" as="sourcePoint"/>
|
||
<mxPoint x="75" y="1100" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="85" y="1114"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="804" value="Нет" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="130" y="1082.5" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="805" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1510" y="1260" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="806" value="Если токен найден, запрашиваем <br>id юзера по tokenable_id" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="1530" y="1243.25" width="210" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="807" value="<span style="color: rgb(0, 0, 0); text-wrap-mode: wrap;">В таблице с токенами есть</span><br style="text-wrap-mode: wrap;"><span style="color: rgb(0, 0, 0); text-wrap-mode: wrap;">запись с токеном из&nbsp;</span><span style="color: rgb(0, 0, 0); text-wrap-mode: wrap;">заголовка, <br>а также в таблице users <br>есть связанная запись <br>(пользователя) к этому токену ?</span>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="210" y="1130" width="200" height="90" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="808" value="" style="endArrow=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endFill=0;" edge="1" parent="1" source="802" target="829">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="152.5" y="1110" as="sourcePoint"/>
|
||
<mxPoint x="-82.5" y="760" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="809" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
||
<mxGeometry x="175" y="1440" width="50" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="810" value="" style="endArrow=classic;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;endFill=1;" edge="1" parent="1" source="748" target="747">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="930" y="1030" as="sourcePoint"/>
|
||
<mxPoint x="930" y="990" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="811" value="Редирект на вьюху <br>с меню Magic" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="485" y="1240" width="130" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="812" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="813" target="712">
|
||
<mxGeometry relative="1" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="813" value="Запрос" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fillColor=#e1d5e7;strokeColor=#9673a6;strokeWidth=3;" vertex="1" parent="1">
|
||
<mxGeometry x="-215" y="-30" width="30" height="60" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="814" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="810" y="1179" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="815" value="" style="endArrow=none;dashed=1;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="710" target="816">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1160" y="315" as="sourcePoint"/>
|
||
<mxPoint x="1160" y="610" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="816" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1150" y="460" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="817" value="" style="endArrow=none;dashed=1;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="706" target="759">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="1170" y="440" as="sourcePoint"/>
|
||
<mxPoint x="1170" y="620" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="818" value="В сесси есть&nbsp;<br>_auth_login" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="367.5" y="300" width="125" height="70" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="819" value="Да" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="150" y="1140" width="40" height="30" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="820" value="" style="endArrow=classicThin;html=1;edgeStyle=orthogonalEdgeStyle;fillColor=#fff2cc;strokeColor=light-dark(#000000, #6d5100);strokeWidth=1;endFill=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="701" target="721">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="710" y="690" as="sourcePoint"/>
|
||
<mxPoint x="370" y="610" as="targetPoint"/>
|
||
<Array as="points">
|
||
<mxPoint x="729" y="630"/>
|
||
<mxPoint x="310" y="630"/>
|
||
</Array>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="821" value="Нет" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="820">
|
||
<mxGeometry x="-0.3625" y="8" relative="1" as="geometry">
|
||
<mxPoint x="104" y="-28" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="822" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
||
<mxGeometry x="405" y="390" width="50" height="50" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="823" value="Посредник пропускает <br>запрос дальше" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="450" y="390" width="150" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="824" value="Аутентификация <br>успешна" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1">
|
||
<mxGeometry x="725" y="1505" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="825" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.75;entryDx=0;entryDy=0;exitX=0.969;exitY=0.671;exitDx=0;exitDy=0;jumpStyle=arc;exitPerimeter=0;" edge="1" parent="1" source="737" target="741">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="820.6199999999999" y="857.5" as="sourcePoint"/>
|
||
<mxPoint x="1720" y="860" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="826" value="Записываем в поле abilities <br>permsissions пользователя для авторизации" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="825">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="-368" y="15" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="827" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="1710" y="1359.25" width="20" height="40" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="828" value="" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;endFill=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="829" target="827">
|
||
<mxGeometry relative="1" as="geometry">
|
||
<mxPoint x="1670" y="1390" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="829" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
<mxGeometry x="170" y="1350" width="60" height="58.5" as="geometry"/>
|
||
</mxCell>
|
||
<mxCell id="830" value="" style="endArrow=classic;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endFill=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="829" target="809">
|
||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||
<mxPoint x="210" y="1155" as="sourcePoint"/>
|
||
<mxPoint x="200" y="1450" as="targetPoint"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="831" value="Аутентификация <br>успешна" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="830">
|
||
<mxGeometry x="0.1298" y="-2" relative="1" as="geometry">
|
||
<mxPoint x="2" y="92" as="offset"/>
|
||
</mxGeometry>
|
||
</mxCell>
|
||
<mxCell id="832" value="Проверяем срок жизни <br>sanctum токена.<br>Если остается менее часа,<br>продлеваем на 2 часа<br>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||
<mxGeometry x="210" y="1310" width="170" height="60" as="geometry"/>
|
||
</mxCell>
|
||
</root>
|
||
</mxGraphModel>
|
||
</diagram>
|
||
</mxfile> |