Service.clearSync

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 #SecretService proxy.

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

class Service
bool
clearSync
(,
HashTable attributes
,
Cancellable cancellable
)

Parameters

schema Schema

the schema for the attributes

attributes HashTable

the attribute keys and values

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether items were removed or not

Throws

GException on failure.

Meta