This module provides some utility functions, but these shouldn’t normally be used by external applications.
Formats secret to make possible to pass it to the Secret Service API.
Executes the given prompt, when complete calls callback function with two arguments: a boolean representing whether the operation was dismissed and a list of unlocked item paths. A main loop should be running and registered for this function to work.
Like exec_prompt(), but synchronous (uses loop from GLib API). Returns (dismissed, unlocked) tuple.
Like exec_prompt(), but synchronous (uses loop from PyQt5 API). Returns (dismissed, unlocked) tuple.
Requests unlocking objects specified in paths. If callback is specified, calls it when unlocking is complete (see exec_prompt() description for details). Otherwise, uses the loop from GLib API and returns a boolean representing whether the operation was dismissed.