Register a new secret agent #73
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @benjamin-grzimek This probably involves the https://www.networkmanager.dev/docs/api/latest/gdbus-org.freedesktop.NetworkManager.SecretAgent.html From the documentation it seems like you have to create your own secret agent object and then export it. I can look in to it more in the future. |
Beta Was this translation helpful? Give feedback.
After reading NetworkManager documentation I realized that the agent is not required to obtain any D-Bus names.
So I fixed your code and added example of overriding the agent methods: