Secret.Item.prototype.load_secret
function load_secret(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for secret_item_load_secret() }
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 will fail if the secret item is locked.
This function returns immediately and completes asynchronously.
- cancellable
optional cancellation object
- callback
called when the operation completes