Secret.password_clear_sync
function password_clear_sync(schema: Secret.Schema, attributes: {String: String}, cancellable: Gio.Cancellable): Boolean { // Gjs wrapper for secret_password_clearv_sync() }
Remove unlocked matching passwords from the secret service.
The attributes should be a set of key and value string pairs.
All unlocked items that match the attributes will be deleted.
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 any passwords were removed