Function: secrets-unlock-item

secrets-unlock-item is a byte-compiled function defined in secrets.el.gz.

Signature

(secrets-unlock-item COLLECTION ITEM)

Documentation

Unlock item labeled ITEM from collection labeled COLLECTION.

If successful, return the object path of the item.

Source Code

;; Defined in /usr/src/emacs/lisp/net/secrets.el.gz
(defun secrets-unlock-item (collection item)
  "Unlock item labeled ITEM from collection labeled COLLECTION.
If successful, return the object path of the item."
  (let ((item-path (secrets-item-path collection item)))
    (unless (secrets-empty-path item-path)
      (secrets-prompt
       (cadr
        (dbus-call-method
         :session secrets-service secrets-path secrets-interface-service
         "Unlock" `(:array :object-path ,item-path)))))
    item-path))