From 47e405b5b74839a53aeea2887a7cee87787d3f28 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 23 Mar 2011 13:13:09 +0100 Subject: Convert to using passwords.js from Add-on SDK, not out own. Exccessive callbacks are considered harmful! --- docs/passwords.md | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 docs/passwords.md (limited to 'docs/passwords.md') diff --git a/docs/passwords.md b/docs/passwords.md deleted file mode 100644 index 283c54b..0000000 --- a/docs/passwords.md +++ /dev/null @@ -1,51 +0,0 @@ -The `passwords` module provides access to the Firefox Password Manager. - - -@method -The `setPassword` method sets new authentication pair to the encrypted -Firefox's nsILoginManager. - -It is most useful for storing sensitive data with private information -to the store. It is most useful in situation where script would need -some personal information, but it is our responsibility to store it -securely. - -@param username {string} login name -@param pass {string} password -@param domain {string} hostname of the server we are connecting to as URL. -As for example "http://bugzilla.mozilla.org" -@param realm {string} String distinguishing this login to other ones for -the same hostname. - -@returns {string} - - - -@method -The `getPassword` method returns the password specified by the -parameters of this function. - -@param username {string} login name -@param domain {string} the same as in `setPassword` method. -@param realm {string} the same as in `setPassword` method. - -@returns {string} - - - -@method -The `removePassword` method remove the login information from the storage. -Note that the serach parameters of this function must much **EXACTLY** -parameters of the corresponding call to `setPassword`. - -@param username {string} login name -@param domain {string} the same as in `setPassword` method. -@param realm {string} the same as in `setPassword` method. - -@returns {string} - - -Examples --------- - -For examples see `tests/test-password.js` \ No newline at end of file -- cgit