Secrets API search added. Removed older functions. Backwards compatibility.
authorTed Zlatanov <tzz@lifelogs.com>
Sun, 6 Feb 2011 14:35:13 +0000 (08:35 -0600)
committerTed Zlatanov <tzz@lifelogs.com>
Sun, 6 Feb 2011 14:35:19 +0000 (08:35 -0600)
commit7efd26196cf28c800afbb4a773fde6d149d407bf
tree944fb78360c49a46a6b7b5533f9ff7592eebcbd7
parentaf7bf35280cbd4092af834d17677ce647b2390c5
Secrets API search added.  Removed older functions.  Backwards compatibility.

* auth-source.el (auth-sources): Allow for simpler defaults for Secrets
API with a string "secrets:collection-name" and with 'default.
(auth-source-backend-parse): Parse "secrets:collection-name" and
'default.  Recurse on parses instead of repeating code.  Use the
Secrets API is the source is not nil and 'ignore otherwise.  Emit a
message when ignoring a source.
(auth-source-search): List ignored search keys at the top level.
(auth-source-netrc-create): Use `case' instead of `cond'.
(auth-source-secrets-search): Created with TODOs.
(auth-source-secrets-create): Created with TODOs.
(auth-source-retrieve, auth-source-create, auth-source-delete)
(auth-source-protocol-defaults, auth-source-user-or-password-imap)
(auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
(auth-source-user-or-password-sftp)
(auth-source-user-or-password-smtp): Removed.
(auth-source-user-or-password): Deprecated and modified to be a wrapper
around `auth-source-search'.  Not tested thoroughly.
lisp/ChangeLog
lisp/auth-source.el