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

      the schema for attributes

    • attributes: { [key: string]: string }

      the attribute keys and values

    • flags: Secret.SearchFlags

      search option flags

    • cancellable: Gio.Cancellable

      optional cancellation object

    Returns Secret.Retrievable[]

    a list of Retrievable containing attributes of the matched items

    0.19.0