Secret.Service.prototype.lookup

function lookup(schema: Secret.Schema, attributes: {String: String}, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_service_lookup()
}
  

Lookup a secret value in the secret service.

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

If service is NULL, then Secret.Service.get will be called to get the default Secret.Service proxy.

This method will return immediately and complete asynchronously.

schema

the schema for the attributes

attributes

the attribute keys and values

cancellable

optional cancellation object

callback

called when the operation completes