lookup_sync


Description:

public Value lookup_sync (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable = null) throws Error

Lookup a secret value in the secret service.

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

If this is null, then [funcService.get_sync] will be called to get the default [classService] proxy.

This method may block indefinitely and should not be used in user interface threads.

Parameters:

this

the secret service

schema

the schema for the attributes

attributes

the attribute keys and values

cancellable

optional cancellation object

Returns:

a newly allocated [structValue], which should be released with [methodValue.unref], or null if no secret found




2022 vala-language.org