For version 125 — the latest version of this documentation can be found at https://polkit.pages.freedesktop.org/polkit.


I. polkit Overview
Introduction
Writing polkit applications
Writing polkit Authentication Agents
II. D-Bus API Reference
org.freedesktop.PolicyKit1.Authority Interface — Authority Interface
org.freedesktop.PolicyKit1.AuthenticationAgent Interface — Authentication Agent Interface
III. Library API Reference
PolkitAuthority — Authority
PolkitAuthorizationResult — Result for checking an authorization
PolkitDetails — Object used for passing details
PolkitError — Error codes
PolkitActionDescription — Description of Actions
PolkitTemporaryAuthorization — Temporary Authorizations
PolkitPermission — PolicyKit GPermission implementation
Subjects
PolkitSubject — Type for representing subjects
PolkitUnixProcess — Unix processs
PolkitUnixSession — Unix sessions
PolkitSystemBusName — Unique system bus names
Identities
PolkitIdentity — Type for representing identities
PolkitUnixUser — Unix users
PolkitUnixGroup — Unix groups
PolkitUnixNetgroup — Unix netgroups
IV. Authentication Agent API Reference
PolkitAgentListener — Abstract base class for Authentication Agents
PolkitAgentTextListener — Text-based Authentication Agent
PolkitAgentSession — Authentication Session
V. Manual Pages
polkit — Authorization Manager
polkitd — The polkit system daemon
pkcheck — Check whether a process is authorized
pkaction — Get details about a registered action
pkexec — Execute a command as another user
pkttyagent — Textual authentication helper
Object Hierarchy
Annotation Glossary
Index
A. License