Service.unlockDbusPaths

Unlock items or collections in the secret service.

The items or collections are represented by their D-Bus object paths. If you already have #SecretItem and #SecretCollection proxy objects, use use secret_service_unlock() instead.

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

This method returns immediately and completes asynchronously. The secret service may prompt the user. secret_service_prompt() will be used to handle any prompts that show up.

class Service
void
unlockDbusPaths
(
string[] paths
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

paths string[]

the D-Bus paths for items or collections to unlock

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to pass to the callback

Meta