unlock_dbus_paths_sync


Description:

public int unlock_dbus_paths_sync (string[] paths, Cancellable? cancellable, out string[]? unlocked) throws Error

Unlock items or collections in the secret service.

The items or collections are represented by their D-Bus object paths. If you already have [classItem] and [classCollection ] proxy objects, use use [methodService.unlock_sync] instead.

The secret service may not be able to unlock items individually, and may unlock an entire collection instead.

This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. [method Service.prompt] will be used to handle any prompts that show up.

Parameters:

this

the secret service

paths

the D-Bus object paths of the items or collections to unlock

cancellable

optional cancellation object

unlocked

location to place array of D-Bus paths of items or collections that were unlocked

Returns:

the number of items or collections that were unlocked