get_secret_for_dbus_path


Description:

public async Value? get_secret_for_dbus_path (string item_path, Cancellable? cancellable) throws Error

Get the secret value for a secret item stored in the service.

The item is represented by its D-Bus object path. If you already have a [classItem] proxy object, use use [method Item.get_secret] to more simply get its secret value.

This function returns immediately and completes asynchronously.

Parameters:

this

the secret service

item_path

the D-Bus path to item to retrieve secret for

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback