Service.clear

void clear(secret.schema.Schema schema, string[string] attributes, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

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

This method will return immediately and complete asynchronously.

Parameters

schemathe schema for the attributes
attributesthe attribute keys and values
cancellableoptional cancellation object
callbackcalled when the operation completes