Secret.Item.prototype.load_secret_sync

function load_secret_sync(cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for secret_item_load_secret_sync()
}
  

Load the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

This function may block indefinetely. Use the asynchronous version in user interface threads.

cancellable

optional cancellation object

Returns

whether the secret item succesfully loaded or not