Documentation
¶
Index ¶
Constants ¶
View Source
const PermissionKey contextKey = "systemdPermission"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DbusAuth ¶ added in v0.2.0
type DbusAuth struct {
*dbus.Conn
Timeout uint32
DbusName string
DbusPath string
// contains filtered or unexported fields
}
func (*DbusAuth) AuthRegister ¶ added in v0.2.0
Just register the sender for further call backs
func (*DbusAuth) Deauthorize ¶ added in v0.2.0
Deauthorize revokes the authorization
func (*DbusAuth) IsReadAuthorized ¶ added in v0.2.0
Check if read was authorized. Triggers also a call back via dbus if read was authorized at another time
Click to show internal directories.
Click to hide internal directories.