- public void @delete ()
Deletes the account.
- public unowned string get_display_name ()
Get the display name of this.
- public bool get_enabled ()
Gets whether the selected service is enabled for
this.
- public unowned Manager get_manager ()
- public unowned string get_provider_name ()
Get the name of the provider of this
.
- public Service get_selected_service ()
Gets the selected Service
for this.
- public AccountSettingIter get_settings_iter (string? key_prefix)
Creates a new iterator.
- public SettingSource get_value (string key, ref Value value)
Gets the value of the configuration setting key:
value must be a Value initialized to the type of the setting.
- public unowned Variant get_variant (string key, out SettingSource source)
Gets the value of the configuration setting key.
- public List<Service> list_enabled_services ()
Gets a list of services that are enabled for
this.
- public List<Service> list_services ()
Get the list of services for this.
- public List<Service> list_services_by_type (string service_type)
Get the list of services supported by this
, filtered by service_type.
- public void remove_watch (AccountWatch watch)
Removes the notification callback identified by watch.
- public void select_service (Service? service)
Selects the configuration of service service: from now
on, all the subsequent calls on the Account configuration will act on the service.
- public void set_display_name (string display_name)
Changes the display name for this to
display_name.
- public void set_enabled (bool enabled)
Sets the "enabled" flag on the selected service for
this.
- public void set_value (string key, Value? value)
Sets the value of the configuration setting key to the
value value.
- public void set_variant (string key, Variant? value)
Sets the value of the configuration setting key to the
value value.
- public void settings_iter_init (AccountSettingIter iter, string? key_prefix)
Initializes iter to iterate over the account settings.
- public void sign (string key, string token)
Creates signature of the key with given token
.
- public void store (AccountStoreCb callback)
Commit the changed account settings to the account database, and
invoke callback when the operation has been completed.
- public async bool store_async (Cancellable? cancellable) throws Error
Commit the changed account settings to the account database, and
invoke callback when the operation has been completed.
- public bool store_blocking () throws Error
Commit the changed account settings to the account database, and
invoke callback when the operation has been completed.
- public bool supports_service (string service_type)
Get whether service_type is supported on
this.
- public bool verify (string key, string token)
Verify if the key is signed and the signature matches the value and
provides the aegis token which was used for signing the key.
- public bool verify_with_tokens (string key, string tokens)
Verify if the key is signed with any of the tokens from
the tokens and the signature is valid.
- public unowned AccountWatch watch_dir (string key_prefix, AccountNotifyCb callback)
Installs a watch on all the keys under key_prefix:
callback will be invoked whenever the value of any of these keys changes (or a key is removed).
- public unowned AccountWatch watch_key (string key, AccountNotifyCb callback)
Installs a watch on key: callback will be
invoked whenever the value of key changes (or the key is removed).