Secret.password_lookup

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

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.

schema

the schema for attributes

attributes

the attribute keys and values

cancellable

optional cancellation object

callback

called when the operation completes