Function

Secret-1Secretpassword_clear_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.

    Parameters

    • schema: Schema

      the schema for the attributes

    • attributes: GLib.HashTable<string, string> | { [key: string]: any }

      the attribute keys and values

    • Optionalcancellable: Gio.Cancellable

      optional cancellation object

    Returns boolean

    whether any passwords were removed