Documentation
¶
Overview ¶
Package retained is lys-polkit's session-bus contract for the admin authorizations polkitd retains after an auth_admin_keep action: the TemporaryAuthorizations property of dev.stubbe.lys.Polkit1, its PropertiesChanged, and RevokeAll and Revoke.
Index ¶
Constants ¶
const ( ServiceName = "dev.stubbe.lys.Polkit1" ServicePath = dbus.ObjectPath("/dev/stubbe/lys/Polkit") Interface = "dev.stubbe.lys.Polkit1" Property = "TemporaryAuthorizations" )
Variables ¶
This section is empty.
Functions ¶
func ChangedMatch ¶
func ChangedMatch() []dbus.MatchOption
func Sort ¶
func Sort(list []Authorization)
Types ¶
type Authorization ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Authorizations ¶
func (c *Client) Authorizations(ctx context.Context) ([]Authorization, error)