Secret.Service.prototype.unlock
function unlock(objects: Array(Gio.DBusProxy), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for secret_service_unlock() }
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 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
- callback
called when the operation completes