secret.prompt

Module for [Prompt] class

Types 3

A prompt in the Service

A proxy object representing a prompt that the Secret Service will display to the user.

Certain actions on the Secret Service require user prompting to complete, such as creating a collection, or unlocking a collection. When such a prompt is necessary, then a #SecretPrompt object is created by this library, and passed to the [secret.service.Service.prompt] method. In this way it is handled automatically.

In order to customize prompt handling, override the vfunc@Service.prompt_async and vfunc@Service.prompt_finish virtual methods of the class@Service class.

Methods
GType _gType() @property
Prompt self()Returns `this`, for use in `with` statements.
PromptGidBuilder builder()Get builder for [secret.prompt.Prompt] Returns: New builder object
void perform(string windowId, glib.variant_type.VariantType returnType, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Runs a prompt and performs the prompting.
glib.variant.Variant performFinish(gio.async_result.AsyncResult result)Complete asynchronous operation to run a prompt and perform the prompting.
glib.variant.Variant performSync(string windowId, gio.cancellable.Cancellable cancellable, glib.variant_type.VariantType returnType)Runs a prompt and performs the prompting.
glib.variant.Variant run(string windowId, gio.cancellable.Cancellable cancellable, glib.variant_type.VariantType returnType)Runs a prompt and performs the prompting.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [secret.prompt.Prompt]

Methods