Secret.Service.prototype.clear

function clear(schema: Secret.Schema, attributes: {String: String}, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_service_clear()
}
  

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 will be called to get the default Secret.Service proxy.

This method will return immediately and complete asynchronously.

schema

the schema for the attributes

attributes

the attribute keys and values

cancellable

optional cancellation object

callback

called when the operation completes