Top |
const gchar *
polkit_temporary_authorization_get_id (PolkitTemporaryAuthorization *authorization
);
Gets the opaque identifier for authorization
.
const gchar *
polkit_temporary_authorization_get_action_id
(PolkitTemporaryAuthorization *authorization
);
Gets the action that authorization
is for.
PolkitSubject *
polkit_temporary_authorization_get_subject
(PolkitTemporaryAuthorization *authorization
);
Gets the subject that authorization
is for.
guint64
polkit_temporary_authorization_get_time_obtained
(PolkitTemporaryAuthorization *authorization
);
Gets the time when authorization
was obtained.
(Note that the PolicyKit daemon is using monotonic time internally so the returned value may change if system time changes.)
guint64
polkit_temporary_authorization_get_time_expires
(PolkitTemporaryAuthorization *authorization
);
Gets the time when authorization
will expire.
(Note that the PolicyKit daemon is using monotonic time internally so the returned value may change if system time changes.)
typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization;
The PolkitTemporaryAuthorization struct should not be accessed directly.