get_secrets


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public Variant get_secrets (string setting_name, Cancellable? cancellable = null) throws Error

Warning: get_secrets is deprecated since 1.22.

Request the connection's secrets.

Note:

Use get_secrets_async or GDBusConnection.

Note that this is a blocking D-Bus call, not a simple property accessor.

Parameters:

this

the RemoteConnection

setting_name

the Setting object name to get secrets for

cancellable

a Cancellable, or null

Returns:

a Variant of type nm_variant_type_connection containing this's secrets, or null on error.




2022 vala-language.org