unregister_async


Description:

[ Version ( deprecated = true , deprecated_since = "1.24" ) ]
public async bool unregister_async (Cancellable? cancellable) throws Error

Warning: unregister_async is deprecated since 1.24.

Asynchronously unregisters the SecretAgentOld with the NetworkManager secret manager, indicating to NetworkManager that the agent will no longer provide or store secrets on behalf of this user.

Note:

Use enable.

Since 1.24, registration cannot fail and is idempotent. It has the same effect as setting nm_secret_agent_old_auto_register to false or enable.

Parameters:

this

a SecretAgentOld

cancellable

a Cancellable, or null

callback

callback to call when the agent is unregistered

user_data

data for callback