unregister


Description:

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

Warning: unregister is deprecated since 1.24.

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.

Parameters:

this

a SecretAgentOld

cancellable

a Cancellable, or null

Returns:

true if unregistration was successful, false on error

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.