Secret.Service.prototype.unlock_sync
function unlock_sync(objects: Array(Gio.DBusProxy), cancellable: Gio.Cancellable): [return_value: Number(gint), unlocked: Array(Gio.DBusProxy)] { // Gjs wrapper for secret_service_unlock_sync() }
Unlock items or collections in the secret service.
The secret service may not be able to unlock items individually, and may unlock an entire collection instead.
If service is NULL, then Secret.Service.get_sync will be called to get the default Secret.Service proxy.
This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. Secret.Service.prototype.prompt will be used to handle any prompts that show up.
- objects
the items or collections to unlock
- cancellable
optional cancellation object
- return_value
the number of items or collections that were unlocked
- unlocked
location to place list of items or collections that were unlocked