phosphor-service-polkit
PolicyKit authentication agent for the session.
A PolicyKit authentication agent built on polkit-qt6. When an application requests a privileged action, polkitd calls into the registered session agent and this library drives the PAM conversation that authenticates the user. Registration is opt-in, since becoming the agent intercepts every authentication. It surfaces the active request and a respond or cancel path, passing the user's response straight through to PAM without retaining it, so a shell renders the dialog.
Key types
PolkitAgentAuthRequestDependencies
QtCoreQtQml
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorServicePolkit::. - API reference → Classes, namespaces and D-Bus interfaces across every library.