src/eric7/Documentation/Source/eric7.WebBrowser.Passwords.PasswordManager.html

branch
eric7
changeset 10436
f6881d10e995
parent 9971
773ad1f1ed22
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
152 <p> 152 <p>
153 Constructor 153 Constructor
154 </p> 154 </p>
155 <dl> 155 <dl>
156 156
157 <dt><i>parent</i></dt> 157 <dt><i>parent</i> (QObject)</dt>
158 <dd> 158 <dd>
159 reference to the parent object (QObject) 159 reference to the parent object
160 </dd> 160 </dd>
161 </dl> 161 </dl>
162 <a NAME="PasswordManager.__createKey" ID="PasswordManager.__createKey"></a> 162 <a NAME="PasswordManager.__createKey" ID="PasswordManager.__createKey"></a>
163 <h4>PasswordManager.__createKey</h4> 163 <h4>PasswordManager.__createKey</h4>
164 <b>__createKey</b>(<i>url, realm</i>) 164 <b>__createKey</b>(<i>url, realm</i>)
166 <p> 166 <p>
167 Private method to create the key string for the login credentials. 167 Private method to create the key string for the login credentials.
168 </p> 168 </p>
169 <dl> 169 <dl>
170 170
171 <dt><i>url</i></dt> 171 <dt><i>url</i> (QUrl)</dt>
172 <dd> 172 <dd>
173 URL to get the credentials for (QUrl) 173 URL to get the credentials for
174 </dd> 174 </dd>
175 <dt><i>realm</i></dt> 175 <dt><i>realm</i> (str)</dt>
176 <dd> 176 <dd>
177 realm to get the credentials for (string) 177 realm to get the credentials for
178 </dd> 178 </dd>
179 </dl> 179 </dl>
180 <dl> 180 <dl>
181 <dt>Return:</dt> 181 <dt>Return:</dt>
182 <dd> 182 <dd>
183 key string (string) 183 key string
184 </dd>
185 </dl>
186 <dl>
187 <dt>Return Type:</dt>
188 <dd>
189 str
184 </dd> 190 </dd>
185 </dl> 191 </dl>
186 <a NAME="PasswordManager.__load" ID="PasswordManager.__load"></a> 192 <a NAME="PasswordManager.__load" ID="PasswordManager.__load"></a>
187 <h4>PasswordManager.__load</h4> 193 <h4>PasswordManager.__load</h4>
188 <b>__load</b>(<i></i>) 194 <b>__load</b>(<i></i>)
197 <p> 203 <p>
198 Private method to strip off all unneeded parts of a URL. 204 Private method to strip off all unneeded parts of a URL.
199 </p> 205 </p>
200 <dl> 206 <dl>
201 207
202 <dt><i>url</i></dt> 208 <dt><i>url</i> (QUrl)</dt>
203 <dd> 209 <dd>
204 URL to be stripped (QUrl) 210 URL to be stripped
205 </dd> 211 </dd>
206 </dl> 212 </dl>
207 <dl> 213 <dl>
208 <dt>Return:</dt> 214 <dt>Return:</dt>
209 <dd> 215 <dd>
210 stripped URL (QUrl) 216 stripped URL
217 </dd>
218 </dl>
219 <dl>
220 <dt>Return Type:</dt>
221 <dd>
222 QUrl
211 </dd> 223 </dd>
212 </dl> 224 </dl>
213 <a NAME="PasswordManager.allSiteNames" ID="PasswordManager.allSiteNames"></a> 225 <a NAME="PasswordManager.allSiteNames" ID="PasswordManager.allSiteNames"></a>
214 <h4>PasswordManager.allSiteNames</h4> 226 <h4>PasswordManager.allSiteNames</h4>
215 <b>allSiteNames</b>(<i></i>) 227 <b>allSiteNames</b>(<i></i>)
218 Public method to get a list of all site names. 230 Public method to get a list of all site names.
219 </p> 231 </p>
220 <dl> 232 <dl>
221 <dt>Return:</dt> 233 <dt>Return:</dt>
222 <dd> 234 <dd>
223 sorted list of all site names (list of strings) 235 sorted list of all site names
236 </dd>
237 </dl>
238 <dl>
239 <dt>Return Type:</dt>
240 <dd>
241 list of str
224 </dd> 242 </dd>
225 </dl> 243 </dl>
226 <a NAME="PasswordManager.clear" ID="PasswordManager.clear"></a> 244 <a NAME="PasswordManager.clear" ID="PasswordManager.clear"></a>
227 <h4>PasswordManager.clear</h4> 245 <h4>PasswordManager.clear</h4>
228 <b>clear</b>(<i></i>) 246 <b>clear</b>(<i></i>)
244 <p> 262 <p>
245 Public slot to complete login forms with saved data. 263 Public slot to complete login forms with saved data.
246 </p> 264 </p>
247 <dl> 265 <dl>
248 266
249 <dt><i>page</i></dt> 267 <dt><i>page</i> (WebBrowserPage)</dt>
250 <dd> 268 <dd>
251 reference to the web page (WebBrowserPage) 269 reference to the web page
252 </dd> 270 </dd>
253 </dl> 271 </dl>
254 <a NAME="PasswordManager.formSubmitted" ID="PasswordManager.formSubmitted"></a> 272 <a NAME="PasswordManager.formSubmitted" ID="PasswordManager.formSubmitted"></a>
255 <h4>PasswordManager.formSubmitted</h4> 273 <h4>PasswordManager.formSubmitted</h4>
256 <b>formSubmitted</b>(<i>urlStr, userName, password, data, page</i>) 274 <b>formSubmitted</b>(<i>urlStr, userName, password, data, page</i>)
289 Public method to get the file name of the passwords file. 307 Public method to get the file name of the passwords file.
290 </p> 308 </p>
291 <dl> 309 <dl>
292 <dt>Return:</dt> 310 <dt>Return:</dt>
293 <dd> 311 <dd>
294 name of the passwords file (string) 312 name of the passwords file
313 </dd>
314 </dl>
315 <dl>
316 <dt>Return Type:</dt>
317 <dd>
318 str
295 </dd> 319 </dd>
296 </dl> 320 </dl>
297 <a NAME="PasswordManager.getLogin" ID="PasswordManager.getLogin"></a> 321 <a NAME="PasswordManager.getLogin" ID="PasswordManager.getLogin"></a>
298 <h4>PasswordManager.getLogin</h4> 322 <h4>PasswordManager.getLogin</h4>
299 <b>getLogin</b>(<i>url, realm</i>) 323 <b>getLogin</b>(<i>url, realm</i>)
301 <p> 325 <p>
302 Public method to get the login credentials. 326 Public method to get the login credentials.
303 </p> 327 </p>
304 <dl> 328 <dl>
305 329
306 <dt><i>url</i></dt> 330 <dt><i>url</i> (QUrl)</dt>
307 <dd> 331 <dd>
308 URL to get the credentials for (QUrl) 332 URL to get the credentials for
309 </dd> 333 </dd>
310 <dt><i>realm</i></dt> 334 <dt><i>realm</i> (str)</dt>
311 <dd> 335 <dd>
312 realm to get the credentials for (string) 336 realm to get the credentials for
313 </dd> 337 </dd>
314 </dl> 338 </dl>
315 <dl> 339 <dl>
316 <dt>Return:</dt> 340 <dt>Return:</dt>
317 <dd> 341 <dd>
318 tuple containing the user name (string) and password (string) 342 tuple containing the user name (string) and password
343 </dd>
344 </dl>
345 <dl>
346 <dt>Return Type:</dt>
347 <dd>
348 str
319 </dd> 349 </dd>
320 </dl> 350 </dl>
321 <a NAME="PasswordManager.mainPasswordChanged" ID="PasswordManager.mainPasswordChanged"></a> 351 <a NAME="PasswordManager.mainPasswordChanged" ID="PasswordManager.mainPasswordChanged"></a>
322 <h4>PasswordManager.mainPasswordChanged</h4> 352 <h4>PasswordManager.mainPasswordChanged</h4>
323 <b>mainPasswordChanged</b>(<i>oldPassword, newPassword</i>) 353 <b>mainPasswordChanged</b>(<i>oldPassword, newPassword</i>)
325 <p> 355 <p>
326 Public slot to handle the change of the main password. 356 Public slot to handle the change of the main password.
327 </p> 357 </p>
328 <dl> 358 <dl>
329 359
330 <dt><i>oldPassword</i></dt> 360 <dt><i>oldPassword</i> (str)</dt>
331 <dd> 361 <dd>
332 current main password (string) 362 current main password
333 </dd> 363 </dd>
334 <dt><i>newPassword</i></dt> 364 <dt><i>newPassword</i> (str)</dt>
335 <dd> 365 <dd>
336 new main password (string) 366 new main password
337 </dd> 367 </dd>
338 </dl> 368 </dl>
339 <a NAME="PasswordManager.reload" ID="PasswordManager.reload"></a> 369 <a NAME="PasswordManager.reload" ID="PasswordManager.reload"></a>
340 <h4>PasswordManager.reload</h4> 370 <h4>PasswordManager.reload</h4>
341 <b>reload</b>(<i></i>) 371 <b>reload</b>(<i></i>)
350 <p> 380 <p>
351 Public method to remove a password entry. 381 Public method to remove a password entry.
352 </p> 382 </p>
353 <dl> 383 <dl>
354 384
355 <dt><i>site</i></dt> 385 <dt><i>site</i> (str)</dt>
356 <dd> 386 <dd>
357 web site name (string) 387 web site name
358 </dd> 388 </dd>
359 </dl> 389 </dl>
360 <a NAME="PasswordManager.save" ID="PasswordManager.save"></a> 390 <a NAME="PasswordManager.save" ID="PasswordManager.save"></a>
361 <h4>PasswordManager.save</h4> 391 <h4>PasswordManager.save</h4>
362 <b>save</b>(<i></i>) 392 <b>save</b>(<i></i>)
371 <p> 401 <p>
372 Public method to set the login credentials. 402 Public method to set the login credentials.
373 </p> 403 </p>
374 <dl> 404 <dl>
375 405
376 <dt><i>url</i></dt> 406 <dt><i>url</i> (QUrl)</dt>
377 <dd> 407 <dd>
378 URL to set the credentials for (QUrl) 408 URL to set the credentials for
379 </dd> 409 </dd>
380 <dt><i>realm</i></dt> 410 <dt><i>realm</i> (str)</dt>
381 <dd> 411 <dd>
382 realm to set the credentials for (string) 412 realm to set the credentials for
383 </dd> 413 </dd>
384 <dt><i>username</i></dt> 414 <dt><i>username</i> (str)</dt>
385 <dd> 415 <dd>
386 username for the login (string) 416 username for the login
387 </dd> 417 </dd>
388 <dt><i>password</i></dt> 418 <dt><i>password</i> (str)</dt>
389 <dd> 419 <dd>
390 password for the login (string) 420 password for the login
391 </dd> 421 </dd>
392 </dl> 422 </dl>
393 <a NAME="PasswordManager.siteInfo" ID="PasswordManager.siteInfo"></a> 423 <a NAME="PasswordManager.siteInfo" ID="PasswordManager.siteInfo"></a>
394 <h4>PasswordManager.siteInfo</h4> 424 <h4>PasswordManager.siteInfo</h4>
395 <b>siteInfo</b>(<i>site</i>) 425 <b>siteInfo</b>(<i>site</i>)
397 <p> 427 <p>
398 Public method to get a reference to the named site. 428 Public method to get a reference to the named site.
399 </p> 429 </p>
400 <dl> 430 <dl>
401 431
402 <dt><i>site</i></dt> 432 <dt><i>site</i> (str)</dt>
403 <dd> 433 <dd>
404 web site name (string) 434 web site name
405 </dd> 435 </dd>
406 </dl> 436 </dl>
407 <dl> 437 <dl>
408 <dt>Return:</dt> 438 <dt>Return:</dt>
409 <dd> 439 <dd>
410 tuple containing the user name (string) and password (string) 440 tuple containing the user name (string) and password
441 </dd>
442 </dl>
443 <dl>
444 <dt>Return Type:</dt>
445 <dd>
446 str
411 </dd> 447 </dd>
412 </dl> 448 </dl>
413 <a NAME="PasswordManager.sitesCount" ID="PasswordManager.sitesCount"></a> 449 <a NAME="PasswordManager.sitesCount" ID="PasswordManager.sitesCount"></a>
414 <h4>PasswordManager.sitesCount</h4> 450 <h4>PasswordManager.sitesCount</h4>
415 <b>sitesCount</b>(<i></i>) 451 <b>sitesCount</b>(<i></i>)
418 Public method to get the number of available sites. 454 Public method to get the number of available sites.
419 </p> 455 </p>
420 <dl> 456 <dl>
421 <dt>Return:</dt> 457 <dt>Return:</dt>
422 <dd> 458 <dd>
423 number of sites (integer) 459 number of sites
460 </dd>
461 </dl>
462 <dl>
463 <dt>Return Type:</dt>
464 <dd>
465 int
424 </dd> 466 </dd>
425 </dl> 467 </dl>
426 <div align="right"><a href="#top">Up</a></div> 468 <div align="right"><a href="#top">Up</a></div>
427 <hr /> 469 <hr />
428 </body></html> 470 </body></html>

eric ide

mercurial