Secret.Service.prototype.clear_sync

function clear_sync(schema: Secret.Schema, attributes: {String: String}, cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for secret_service_clear_sync()
}
  

Remove unlocked items which match the attributes from the secret service.

The attributes should be a set of key and value string pairs.

If service is NULL, then Secret.Service.get_sync will be called to get the default Secret.Service proxy.

This method may block indefinitely and should not be used in user interface threads.

schema

the schema for the attributes

attributes

the attribute keys and values

cancellable

optional cancellation object

Returns

whether items were removed or not