| PolicyKit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
PolkitAuthorization;
PolkitAuthorization * polkit_authorization_new (const gchar *action_id,
PolkitSubject *subject,
gboolean is_negative);
const gchar * polkit_authorization_get_action_id (PolkitAuthorization *authorization);
PolkitSubject * polkit_authorization_get_subject (PolkitAuthorization *authorization);
gboolean polkit_authorization_get_is_negative
(PolkitAuthorization *authorization);
This class represents an explicit authorization.
To use this unstable API you need to define the symbol
POLKIT_I_KNOW_AUTHORITY_MANAGER_API_IS_SUBJECT_TO_CHANGE.
PolkitAuthorization * polkit_authorization_new (const gchar *action_id, PolkitSubject *subject, gboolean is_negative);
const gchar * polkit_authorization_get_action_id (PolkitAuthorization *authorization);
PolkitSubject * polkit_authorization_get_subject (PolkitAuthorization *authorization);
gboolean polkit_authorization_get_is_negative (PolkitAuthorization *authorization);