You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
14 KiB
1 line
14 KiB
<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="683px" preserveAspectRatio="none" style="width:890px;height:683px;background:#FFFFFF;" version="1.1" viewBox="0 0 890 683" width="890px" zoomAndPan="magnify"><defs/><g><!--class AuthController--><g id="elem_AuthController"><rect codeLine="2" fill="#F1F1F1" height="141.1055" id="AuthController" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="486" x="202" y="7"/><ellipse cx="395.25" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M398.0156,18.875 Q398.1719,18.6563 398.3594,18.5469 Q398.5469,18.4375 398.7656,18.4375 Q399.1406,18.4375 399.375,18.7031 Q399.6094,18.9531 399.6094,19.5625 L399.6094,21.0156 Q399.6094,21.625 399.375,21.8906 Q399.1406,22.1563 398.7656,22.1563 Q398.4219,22.1563 398.2188,21.9531 Q398.0156,21.7656 397.9063,21.25 Q397.8594,20.8906 397.6719,20.7031 Q397.3438,20.3281 396.7344,20.1094 Q396.125,19.8906 395.5,19.8906 Q394.7344,19.8906 394.0938,20.2188 Q393.4688,20.5469 392.9688,21.2969 Q392.4844,22.0469 392.4844,23.0781 L392.4844,24.1719 Q392.4844,25.4063 393.375,26.2344 Q394.2656,27.0469 395.8594,27.0469 Q396.7969,27.0469 397.4531,26.7969 Q397.8438,26.6406 398.2656,26.2031 Q398.5313,25.9375 398.6719,25.8594 Q398.8281,25.7813 399.0313,25.7813 Q399.3594,25.7813 399.6094,26.0469 Q399.875,26.2969 399.875,26.6406 Q399.875,26.9844 399.5313,27.3906 Q399.0313,27.9688 398.2344,28.2969 Q397.1563,28.75 395.8594,28.75 Q394.3438,28.75 393.1406,28.125 Q392.1563,27.625 391.4688,26.5625 Q390.7813,25.4844 390.7813,24.2031 L390.7813,23.0469 Q390.7813,21.7188 391.3906,20.5781 Q392.0156,19.4219 393.1094,18.8125 Q394.2031,18.1875 395.4375,18.1875 Q396.1719,18.1875 396.8125,18.3594 Q397.4688,18.5156 398.0156,18.875 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="91" x="415.75" y="28.7969">AuthController</text><line style="stroke:#181818;stroke-width:0.5;" x1="203" x2="687" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="203" x2="687" y1="47" y2="47"/><ellipse cx="213" cy="61.8105" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="205" x="222" y="66.1074">__construct (model : AuthModel)</text><ellipse cx="213" cy="80.4316" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="208" x="222" y="84.7285">displayRegister() : HttpResponse</text><ellipse cx="213" cy="99.0527" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="460" x="222" y="103.3496">register(request : array,session : MutableSessionHandle) : HttpResponse</text><ellipse cx="213" cy="117.6738" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="190" x="222" y="121.9707">displayLogin() : HttpResponse</text><ellipse cx="213" cy="136.2949" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="450" x="222" y="140.5918">login(request : array , session : MutableSessionHandle) : HttpResponse</text></g><!--class AuthModel--><g id="elem_AuthModel"><rect codeLine="11" fill="#F1F1F1" height="122.4844" id="AuthModel" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="876" x="7" y="208"/><ellipse cx="407.25" cy="224" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M410.0156,219.875 Q410.1719,219.6563 410.3594,219.5469 Q410.5469,219.4375 410.7656,219.4375 Q411.1406,219.4375 411.375,219.7031 Q411.6094,219.9531 411.6094,220.5625 L411.6094,222.0156 Q411.6094,222.625 411.375,222.8906 Q411.1406,223.1563 410.7656,223.1563 Q410.4219,223.1563 410.2188,222.9531 Q410.0156,222.7656 409.9063,222.25 Q409.8594,221.8906 409.6719,221.7031 Q409.3438,221.3281 408.7344,221.1094 Q408.125,220.8906 407.5,220.8906 Q406.7344,220.8906 406.0938,221.2188 Q405.4688,221.5469 404.9688,222.2969 Q404.4844,223.0469 404.4844,224.0781 L404.4844,225.1719 Q404.4844,226.4063 405.375,227.2344 Q406.2656,228.0469 407.8594,228.0469 Q408.7969,228.0469 409.4531,227.7969 Q409.8438,227.6406 410.2656,227.2031 Q410.5313,226.9375 410.6719,226.8594 Q410.8281,226.7813 411.0313,226.7813 Q411.3594,226.7813 411.6094,227.0469 Q411.875,227.2969 411.875,227.6406 Q411.875,227.9844 411.5313,228.3906 Q411.0313,228.9688 410.2344,229.2969 Q409.1563,229.75 407.8594,229.75 Q406.3438,229.75 405.1406,229.125 Q404.1563,228.625 403.4688,227.5625 Q402.7813,226.4844 402.7813,225.2031 L402.7813,224.0469 Q402.7813,222.7188 403.3906,221.5781 Q404.0156,220.4219 405.1094,219.8125 Q406.2031,219.1875 407.4375,219.1875 Q408.1719,219.1875 408.8125,219.3594 Q409.4688,219.5156 410.0156,219.875 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="67" x="427.75" y="229.7969">AuthModel</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="882" y1="240" y2="240"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="882" y1="248" y2="248"/><ellipse cx="18" cy="262.8105" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="254" x="27" y="267.1074">__construct(gateway : AccountGateway)</text><ellipse cx="18" cy="281.4316" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="850" x="27" y="285.7285">register(username:string, password:string, confirmPassword:string, email:string, &failures:array): ?Account + generateToken() : string</text><ellipse cx="18" cy="300.0527" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="150" x="27" y="304.3496">generateToken(): string</text><ellipse cx="18" cy="318.6738" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="386" x="27" y="322.9707">login(email:string, password:string, &failures:array): ?Account</text></g><!--class AccountGateway--><g id="elem_AccountGateway"><rect codeLine="19" fill="#F1F1F1" height="178.3477" id="AccountGateway" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="589" x="150.5" y="390"/><ellipse cx="387.75" cy="406" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M390.5156,401.875 Q390.6719,401.6563 390.8594,401.5469 Q391.0469,401.4375 391.2656,401.4375 Q391.6406,401.4375 391.875,401.7031 Q392.1094,401.9531 392.1094,402.5625 L392.1094,404.0156 Q392.1094,404.625 391.875,404.8906 Q391.6406,405.1563 391.2656,405.1563 Q390.9219,405.1563 390.7188,404.9531 Q390.5156,404.7656 390.4063,404.25 Q390.3594,403.8906 390.1719,403.7031 Q389.8438,403.3281 389.2344,403.1094 Q388.625,402.8906 388,402.8906 Q387.2344,402.8906 386.5938,403.2188 Q385.9688,403.5469 385.4688,404.2969 Q384.9844,405.0469 384.9844,406.0781 L384.9844,407.1719 Q384.9844,408.4063 385.875,409.2344 Q386.7656,410.0469 388.3594,410.0469 Q389.2969,410.0469 389.9531,409.7969 Q390.3438,409.6406 390.7656,409.2031 Q391.0313,408.9375 391.1719,408.8594 Q391.3281,408.7813 391.5313,408.7813 Q391.8594,408.7813 392.1094,409.0469 Q392.375,409.2969 392.375,409.6406 Q392.375,409.9844 392.0313,410.3906 Q391.5313,410.9688 390.7344,411.2969 Q389.6563,411.75 388.3594,411.75 Q386.8438,411.75 385.6406,411.125 Q384.6563,410.625 383.9688,409.5625 Q383.2813,408.4844 383.2813,407.2031 L383.2813,406.0469 Q383.2813,404.7188 383.8906,403.5781 Q384.5156,402.4219 385.6094,401.8125 Q386.7031,401.1875 387.9375,401.1875 Q388.6719,401.1875 389.3125,401.3594 Q389.9688,401.5156 390.5156,401.875 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="106" x="408.25" y="411.7969">AccountGateway</text><line style="stroke:#181818;stroke-width:0.5;" x1="151.5" x2="738.5" y1="422" y2="422"/><line style="stroke:#181818;stroke-width:0.5;" x1="151.5" x2="738.5" y1="430" y2="430"/><ellipse cx="161.5" cy="444.8105" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="186" x="170.5" y="449.1074">__construct(con : Connexion)</text><ellipse cx="161.5" cy="463.4316" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="563" x="170.5" y="467.7285">insertAccount(name:string, email:string, token:string, hash:string, profilePicture:string): int</text><ellipse cx="161.5" cy="482.0527" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="243" x="170.5" y="486.3496">getRowsFromMail(email:string): ?array</text><ellipse cx="161.5" cy="500.6738" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="185" x="170.5" y="504.9707">getHash(email:string): ?string</text><ellipse cx="161.5" cy="519.2949" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="152" x="170.5" y="523.5918">exists(email:string): bool</text><ellipse cx="161.5" cy="537.916" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="278" x="170.5" y="542.2129">getAccountFromMail(email:string): ?Account</text><ellipse cx="161.5" cy="556.5371" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="295" x="170.5" y="560.834">getAccountFromToken(token:string): ?Account</text></g><!--class Connexion--><g id="elem_Connexion"><rect fill="#F1F1F1" height="48" id="Connexion" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="99" x="395.5" y="628"/><ellipse cx="410.5" cy="644" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M413.2656,639.875 Q413.4219,639.6563 413.6094,639.5469 Q413.7969,639.4375 414.0156,639.4375 Q414.3906,639.4375 414.625,639.7031 Q414.8594,639.9531 414.8594,640.5625 L414.8594,642.0156 Q414.8594,642.625 414.625,642.8906 Q414.3906,643.1563 414.0156,643.1563 Q413.6719,643.1563 413.4688,642.9531 Q413.2656,642.7656 413.1563,642.25 Q413.1094,641.8906 412.9219,641.7031 Q412.5938,641.3281 411.9844,641.1094 Q411.375,640.8906 410.75,640.8906 Q409.9844,640.8906 409.3438,641.2188 Q408.7188,641.5469 408.2188,642.2969 Q407.7344,643.0469 407.7344,644.0781 L407.7344,645.1719 Q407.7344,646.4063 408.625,647.2344 Q409.5156,648.0469 411.1094,648.0469 Q412.0469,648.0469 412.7031,647.7969 Q413.0938,647.6406 413.5156,647.2031 Q413.7813,646.9375 413.9219,646.8594 Q414.0781,646.7813 414.2813,646.7813 Q414.6094,646.7813 414.8594,647.0469 Q415.125,647.2969 415.125,647.6406 Q415.125,647.9844 414.7813,648.3906 Q414.2813,648.9688 413.4844,649.2969 Q412.4063,649.75 411.1094,649.75 Q409.5938,649.75 408.3906,649.125 Q407.4063,648.625 406.7188,647.5625 Q406.0313,646.4844 406.0313,645.2031 L406.0313,644.0469 Q406.0313,642.7188 406.6406,641.5781 Q407.2656,640.4219 408.3594,639.8125 Q409.4531,639.1875 410.6875,639.1875 Q411.4219,639.1875 412.0625,639.3594 Q412.7188,639.5156 413.2656,639.875 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="67" x="424.5" y="649.7969">Connexion</text><line style="stroke:#181818;stroke-width:0.5;" x1="396.5" x2="493.5" y1="660" y2="660"/><line style="stroke:#181818;stroke-width:0.5;" x1="396.5" x2="493.5" y1="668" y2="668"/></g><!--reverse link AuthController to AuthModel--><g id="link_AuthController_AuthModel"><path codeLine="9" d="M445,160.26 C445,179.78 445,188.83 445,207.75 " fill="none" id="AuthController-backto-AuthModel" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="445,148.26,441,154.26,445,160.26,449,154.26,445,148.26" style="stroke:#181818;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="43" x="399.5141" y="196.7023">- model</text></g><!--reverse link AuthModel to AccountGateway--><g id="link_AuthModel_AccountGateway"><path codeLine="17" d="M445,342.16 C445,360.76 445,369.65 445,389.73 " fill="none" id="AuthModel-backto-AccountGateway" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="445,330.16,441,336.16,445,342.16,449,336.16,445,330.16" style="stroke:#181818;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="56" x="386.6813" y="378.6594">- gateway</text></g><!--reverse link AccountGateway to Connexion--><g id="link_AccountGateway_Connexion"><path codeLine="29" d="M445,580 C445,602.1 445,611.97 445,627.71 " fill="none" id="AccountGateway-backto-Connexion" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="445,568,441,574,445,580,449,574,445,568" style="stroke:#181818;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="29" x="412.4656" y="616.7812">- con</text></g><!--SRC=[bP5DReCm48NtdC9YKK6RN81DLLLgisYaAEq-Sio4M3KsjGUbKTMxTy060WcBiiBpz-Pz8nHtZZtLU7ms6grH2YpxYHXz3xkTCDgXhGMof3GvA9QrfUlcF_L5B9UkKloyXK8w19kaLBH2hBRWAcg7K6Qxl8Ml6XnI5RUMdnSEd9D6qtjT8zyhUFU15TUvWfbfGVJD55BFAQesEP5Z2_PFmTzeGkT-kMJnahL0ue5758cUPHleCB8BZad14Kwq1e4KmjGQNtqWdMAg7LZDIyYeKUfYmIeQVZ8sxmCqz21jkPd6eUHIzQ-x0xrg2ovh_QSPUmpANh003PPs-32Vu57wpkXcUfBrYCU2LtlERn3OUbe1Qm0KJ_ZqT4VHMuH5UrgwbuPlkce7Lj8jBORsP4Hsl3ysJllNaRlZOCsQWrImaGB9JmYJ7qbMEbouDIVtOasvfg4ZD8tnbi1GkwBfLpKZmkJ1ePlMx8rHmvHWQbQqetshmT_rqlFuFj4OU7CbEX8nZWV4qHy0]--></g></svg> |