Secret.Item.load_secrets_sync
function load_secrets_sync(items: Array(Secret.Item), cancellable: Gio.Cancellable): Boolean { // Gjs wrapper for secret_item_load_secrets_sync() }
Load the secret values for an secret items stored in the service.
The items must all have the same SecretItem::service property.
This method may block indefinitely and should not be used in user interface threads.
Items that are locked will not have their secrets loaded.
- items
the items to retrieve secrets for
- cancellable
optional cancellation object
- Returns
whether the operation succeded or not