Prompt
Object Hierarchy:
Secret.Prompt
Secret.Prompt
Secret.Prompt
GLib.DBusProxy
GLib.DBusProxy
GLib.DBusProxy->Secret.Prompt
GLib.Object
GLib.Object
GLib.Object->GLib.DBusProxy
GLib.AsyncInitable
GLib.AsyncInitable
GLib.AsyncInitable->Secret.Prompt
GLib.AsyncInitable->GLib.DBusProxy
GLib.DBusInterface
GLib.DBusInterface
GLib.DBusInterface->Secret.Prompt
GLib.DBusInterface->GLib.DBusProxy
GLib.Initable
GLib.Initable
GLib.Initable->Secret.Prompt
GLib.Initable->GLib.DBusProxy
Description:
[ CCode ( type_id = "secret_prompt_get_type ()" ) ]public class Prompt : DBusProxy , AsyncInitable , DBusInterface , Initable
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 Prompt object is created by this library, and passed to the [method
Service.prompt
] method. In this way it is handled automatically.
In order to customize prompt handling, override the [vfuncService.prompt_async
] and [vfuncService.prompt_finish
] virtual methods of the [classService
] class.
Content:
Creation methods:
Methods:
public async Variant perform (string ? window_id, VariantType return_type, Cancellable ? cancellable) throws Error
Runs a prompt and performs the prompting.
public Variant perform_sync (string ? window_id, Cancellable ? cancellable, VariantType return_type) throws Error
Runs a prompt and performs the prompting.
public Variant run (string ? window_id, Cancellable ? cancellable, VariantType return_type) throws Error
Runs a prompt and performs the prompting.
Inherited Members:
All known members inherited from class GLib.DBusProxy
@new
call
call_sync
call_with_unix_fd_list
call_with_unix_fd_list_sync
create_for_bus
g_bus_type
g_connection
g_default_timeout
g_flags
g_interface_info
g_interface_name
g_name
g_name_owner
g_object_path
g_properties_changed
g_signal
get_cached_property
get_cached_property_names
get_connection
get_default_timeout
get_flags
get_interface_info
get_interface_name
get_name
get_name_owner
get_object_path
set_cached_property
set_default_timeout
set_interface_info
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable