Function: secrets-unlock-collection

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

Signature

(secrets-unlock-collection COLLECTION)

Documentation

Unlock collection labeled COLLECTION.

If successful, return the object path of the collection.

Source Code

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