get_secrets


Description:

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.

flags indicate specific behavior that the secret agent should use when performing the request, for example returning only existing secrets without user interaction, or requesting entirely new secrets from the user.

Parameters:

this

a SecretAgent

connection

the Connection for which we're asked secrets

setting_name

the name of the secret setting

hints

hints to the agent

flags

flags that modify the behavior of the request

callback

a callback, to be invoked when the operation is done

user_data

caller-specific data to be passed to callback