obus.policykit
Policy_kit
PolicyKit interface
obus
obus.hal
obus.internals
obus.network_manager
obus.notification
obus.udisks
obus.upower
ppx_obus
val not_authorized : OBus_error.name
Exception raised by services when trying to perform an action for which we do not have authorization from PolicyKit
val obtain_authorization : action_id:string -> ?xid:int -> pid:int -> unit -> bool Lwt.t
obtain_authorization ~action_id ~xid ~pid tries to obtain authorization for action_id. It returns whether it succeed or not.
obtain_authorization ~action_id ~xid ~pid
action_id
PolicyKit action identifier; see PolKitAction
X11 window ID for the top-level X11 window the dialog will be transient for
Process ID to grant authorization to