Flags

Details

class Polkit.AuthorityFeatures(value)

Bases: GObject.GFlags

Flags describing features supported by the Authority implementation.

NONE = 0

No flags set.

TEMPORARY_AUTHORIZATION = 1

The authority supports temporary authorizations that can be obtained through authentication.

class Polkit.CheckAuthorizationFlags(value)

Bases: GObject.GFlags

Possible flags when checking authorizations.

NONE = 0

No flags set.

ALLOW_USER_INTERACTION = 1

If the subject can obtain the authorization through authentication, and an authentication agent is available, then attempt to do so. Note, this means that the method used for checking authorization is likely to block for a long time.