|
51 | 51 | <ul> |
52 | 52 | <li><i>username</i> — The desired username for the new account.</li> |
53 | 53 | <li><i>email</i> — The email address associated with the new account.</li> |
54 | | - <li><i>password</i> — The MD5 hashed string of the user's chosen password.</li> |
| 54 | + <li><i>password</i> — The SHA-512 hashed string of the user's chosen password.</li> |
55 | 55 | <li><i>enabled</i> — A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li> |
56 | 56 | </ul> |
57 | 57 |
|
58 | 58 | <pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span> |
59 | 59 | <span class="text-warning">"username"</span>: <span class="text-danger">"<username>"</span>, |
60 | 60 | <span class="text-warning">"email"</span>: <span class="text-danger">"<email>"</span>, |
61 | | - <span class="text-warning">"password"</span>: <span class="text-danger">"<MD5 hashed string>"</span>, |
| 61 | + <span class="text-warning">"password"</span>: <span class="text-danger">"<SHA-512 hashed string>"</span>, |
62 | 62 | <span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span> |
63 | 63 | <span class="text-primary">}</span></pre> |
64 | 64 |
|
|
70 | 70 | <ul> |
71 | 71 | <li><i>username</i> — The username of the account to be updated.</li> |
72 | 72 | <li><i>email</i> — The updated/new email address of the user to be updated.</li> |
73 | | - <li><i>password</i> — The updated/new password hashed in MD5 encryption of the user to be updated.</li> |
| 73 | + <li><i>password</i> — The updated/new password hashed in SHA-512 encryption of the user to be updated.</li> |
74 | 74 | <li><i>enabled</i> — A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li> |
75 | 75 | </ul> |
76 | 76 |
|
77 | 77 | <pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span> |
78 | 78 | <span class="text-warning">"username"</span>: <span class="text-danger">"<username>"</span>, |
79 | 79 | <span class="text-warning">"email"</span>: <span class="text-danger">"<email>"</span>, |
80 | | - <span class="text-warning">"password"</span>: <span class="text-danger">"<MD5 hashed string>"</span>, |
| 80 | + <span class="text-warning">"password"</span>: <span class="text-danger">"<SHA-512 hashed string>"</span>, |
81 | 81 | <span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span> |
82 | 82 | <span class="text-primary">}</span></pre> |
83 | 83 |
|
|
89 | 89 | <ul> |
90 | 90 | <li><i>username</i> — The updated/new username of the account to be updated.</li> |
91 | 91 | <li><i>email</i> — The email address of the user to be updated.</li> |
92 | | - <li><i>password</i> — The updated/new password hashed in MD5 encryption of the user to be updated.</li> |
| 92 | + <li><i>password</i> — The updated/new password hashed in SHA-512 encryption of the user to be updated.</li> |
93 | 93 | <li><i>enabled</i> — A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li> |
94 | 94 | </ul> |
95 | 95 |
|
96 | 96 | <pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span> |
97 | 97 | <span class="text-warning">"username"</span>: <span class="text-danger">"<username>"</span>, |
98 | 98 | <span class="text-warning">"email"</span>: <span class="text-danger">"<email>"</span>, |
99 | | - <span class="text-warning">"password"</span>: <span class="text-danger">"<MD5 hashed string>"</span>, |
| 99 | + <span class="text-warning">"password"</span>: <span class="text-danger">"<SHA-512 hashed string>"</span>, |
100 | 100 | <span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span> |
101 | 101 | <span class="text-primary">}</span></pre> |
102 | 102 |
|
|
234 | 234 | <span class="text-primary">}</span></pre> |
235 | 235 |
|
236 | 236 | <b class="mt-4 mb-2 d-block border-bottom fw-bold">Auth: Login Username</b> |
237 | | - <p>Log-in a specified QLBase application user account using username and an MD5-hashed password string.</p> |
| 237 | + <p>Log-in a specified QLBase application user account using username and an SHA-512-hashed password string.</p> |
238 | 238 | <pre class="bg-secondary border-gray border rounded p-2">api/index.php?action=auth_login_username</pre> |
239 | 239 |
|
240 | 240 | <b>Payload Structure</b> |
241 | 241 | <ul> |
242 | 242 | <li><i>username</i> — The username of the account to be logged in.</li> |
243 | | - <li><i>password</i> — The MD5 hashed password string of the account to be logged in.</li> |
| 243 | + <li><i>password</i> — The SHA-512 hashed password string of the account to be logged in.</li> |
244 | 244 | </ul> |
245 | 245 |
|
246 | 246 | <pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span> |
|
259 | 259 | <span class="text-primary">}</span></pre> |
260 | 260 |
|
261 | 261 | <b class="mt-4 mb-2 d-block border-bottom fw-bold">Auth: Login Email</b> |
262 | | - <p>Log-in a specified QLBase application user account using email and an MD5-hashed password string.</p> |
| 262 | + <p>Log-in a specified QLBase application user account using email and an SHA-512-hashed password string.</p> |
263 | 263 | <pre class="bg-secondary border-gray border rounded p-2">api/index.php?action=auth_login_email</pre> |
264 | 264 |
|
265 | 265 | <b>Payload Structure</b> |
266 | 266 | <ul> |
267 | 267 | <li><i>email</i> — The email of the account to be logged in.</li> |
268 | | - <li><i>password</i> — The MD5 hashed password string of the account to be logged in.</li> |
| 268 | + <li><i>password</i> — The SHA-512 hashed password string of the account to be logged in.</li> |
269 | 269 | </ul> |
270 | 270 |
|
271 | 271 | <pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span> |
|
0 commit comments