Service.promptAtDbusPath

Perform prompting for a #SecretPrompt.

This function is called by other parts of this library to handle prompts for the various actions that can require prompting.

Override the #SecretServiceClass <literal>prompt_async</literal> virtual method to change the behavior of the propmting. The default behavior is to simply run secret_prompt_perform() on the prompt.

class Service
void
promptAtDbusPath
(
string promptPath
,
VariantType returnType
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

promptPath string

the D-Bus object path of the prompt

returnType VariantType

the variant type of the prompt result

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to be passed to the callback

Meta