Secret.passwordLookupvSync

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 may block indefinitely and should not be used in user interface threads.

struct Secret
static
string
passwordLookupvSync
(,
HashTable attributes
,
Cancellable cancellable
)

Parameters

schema Schema

the schema for attributes

attributes HashTable

the attribute keys and values

cancellable Cancellable

optional cancellation object

Return Value

Type: string

a new password string which should be freed with secret_password_free() or may be freed with g_free() when done

Throws

GException on failure.

Meta