Function

Secret-1Secretpassword_search_syncSince 0.19.0

  • Search for items in the secret service.

    The attributes should be a set of key and value string pairs.

    If no secret is found then null is returned.

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

    Parameters

    • schema: Schema | null

      the schema for attributes

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

      the attribute keys and values

    • flags: Secret.SearchFlags

      search option flags

    • cancellable: Gio.Cancellable | null

      optional cancellation object

    Returns Secret.Retrievable[]

    a list of Retrievable containing attributes of the matched items

    0.19.0