SecretAgent
Object Hierarchy:
NM.SecretAgent
NM.SecretAgent
NM.SecretAgent
GLib.Object
GLib.Object
GLib.Object->NM.SecretAgent
Description:
[ CCode ( type_id = "nm_secret_agent_get_type ()" ) ]public abstract class SecretAgent : Object
Content:
Constants:
Properties:
public bool auto_register { get ; set construct ; }
If TRUE, the agent will attempt to automatically register itself after
it is created (via an idle handler) and to re-register itself if NetworkManager restarts.
public SecretAgentCapabilities capabilities { get ; set construct ; }
public string identifier { owned get ; construct ; }
Identifies this agent; only one agent in each user session may use the
same identifier.
public bool registered { get ; }
true
if the agent is registered with NetworkManager,
false
if not.
Creation methods:
Methods:
public virtual void cancel_get_secrets (string connection_path, string setting_name)
public virtual void delete_secrets (Connection connection, string connection_path, SecretAgentDeleteSecretsFunc callback)
Asynchronously ask the agent to delete all saved secrets belonging to
connection
.
public bool get_registered ()
public virtual void get_secrets (Connection connection, string connection_path, string setting_name, string [] hints, SecretAgentGetSecretsFlags flags, SecretAgentGetSecretsFunc callback)
Asynchronously retrieve secrets belonging to connection
for the setting setting_name
.
public bool register ()
Registers the SecretAgent with the
NetworkManager secret manager, indicating to NetworkManager that the agent is able to provide and save secrets for connections on
behalf of its user.
public virtual void save_secrets (Connection connection, string connection_path, SecretAgentSaveSecretsFunc callback)
Asynchronously ensure that all secrets inside connection
are stored to disk.
public bool unregister ()
Unregisters the SecretAgent with
the NetworkManager secret manager, indicating to NetworkManager that the agent is will no longer provide or store secrets on behalf of
this user.
Signals:
Inherited Members:
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