Secret.Service.prototype.lock_finish

function lock_finish(result: Gio.AsyncResult): [return_value: Number(gint), locked: Array(Gio.DBusProxy)] {
    // Gjs wrapper for secret_service_lock_finish()
}
  

Complete asynchronous operation to lock items or collections in the secret service.

The secret service may not be able to lock items individually, and may lock an entire collection instead.

result

asynchronous result passed to the callback

return_value

the number of items or collections that were locked

locked

location to place list of items or collections that were locked