Function

Secret-1Secretpassword_lookup

  • Lookup a password 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 will return immediately and complete asynchronously.

    Parameters

    • schema: Schema

      the schema for attributes

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

      the attribute keys and values

    • cancellable: Gio.Cancellable

      optional cancellation object

    Returns Promise<string>

  • Lookup a password 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 will return immediately and complete asynchronously.

    Parameters

    • schema: Schema

      the schema for attributes

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

      the attribute keys and values

    • cancellable: Gio.Cancellable

      optional cancellation object

    • callback: AsyncReadyCallback<Schema>

      called when the operation completes

    Returns void

  • Lookup a password 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 will return immediately and complete asynchronously.

    Parameters

    • schema: Schema

      the schema for attributes

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

      the attribute keys and values

    • cancellable: Gio.Cancellable

      optional cancellation object

    • callback: AsyncReadyCallback<Schema>

      called when the operation completes

    Returns void | Promise<string>