Back to Seed Clases

Polkit


Classes

Interfaces

Structs

Unions

Enums

Interface Polkit.Subject

Import line: Polkit = imports.gi.Polkit;
GIR File: Polkit-1.0.gir
C documentation: PolkitSubject
Interface : Subject
Implementations: Polkit.SystemBusName, Polkit.UnixProcess, Polkit.UnixSession
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Polkit
Method
Polkit.subject_from_string (String str) : Polkit.Subject
Polkit.Authority
Method
check_authorization (Subject subject, String action_id, Details details, CheckAuthorizationFlags flags, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Authority
Method
check_authorization_sync (Subject subject, String action_id, Details details, CheckAuthorizationFlags flags, Cancellable cancellable) : Polkit.AuthorizationResult
Polkit.Authority
Method
enumerate_temporary_authorizations (Subject subject, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Authority
Method
enumerate_temporary_authorizations_sync (Subject subject, Cancellable cancellable) : Array
Polkit.Authority
Method
register_authentication_agent (Subject subject, String locale, String object_path, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Authority
Method
register_authentication_agent_sync (Subject subject, String locale, String object_path, Cancellable cancellable) : gboolean
Polkit.Authority
Method
revoke_temporary_authorizations (Subject subject, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Authority
Method
revoke_temporary_authorizations_sync (Subject subject, Cancellable cancellable) : gboolean
Polkit.Authority
Method
unregister_authentication_agent (Subject subject, String object_path, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Authority
Method
unregister_authentication_agent_sync (Subject subject, String object_path, Cancellable cancellable) : gboolean
Polkit.Permission
Property
subject : Polkit.Subject
Polkit.Permission
Method
new Polkit.Permission.sync (String action_id, Subject subject, Cancellable cancellable) : Gio.Permission
Create a new Polkit.Permission
Polkit.Permission
Method
Polkit.Permission.c_new (String action_id, Subject subject, Cancellable cancellable, Function callback, void* user_data) : none
Polkit.Permission
Method
get_subject () : Polkit.Subject
Polkit.SystemBusName
Method
Polkit.SystemBusName.c_new (String name) : Polkit.Subject
Polkit.SystemBusName
Method
get_process_sync (Cancellable cancellable) : Polkit.Subject
Polkit.TemporaryAuthorization
Method
new Polkit.TemporaryAuthorization.c_new (String id, String action_id, Subject subject, guint64 time_obtained, guint64 time_expires) : Polkit.TemporaryAuthorization
Create a new Polkit.TemporaryAuthorization
Polkit.TemporaryAuthorization
Method
get_subject () : Polkit.Subject
Polkit.UnixProcess
Method
Polkit.UnixProcess.c_new (gint32 pid) : Polkit.Subject
Polkit.UnixProcess
Method
Polkit.UnixProcess.new_full (gint32 pid, guint64 start_time) : Polkit.Subject
Polkit.UnixSession
Method
Polkit.UnixSession.c_new (String session_id) : Polkit.Subject
Polkit.UnixSession
Method
Polkit.UnixSession.new_for_process_finish (AsyncResult res) : Polkit.Subject
Polkit.UnixSession
Method
Polkit.UnixSession.new_for_process_sync (gint32 pid, Cancellable cancellable) : Polkit.Subject
PolkitAgent
Method
PolkitAgent.register_listener (Listener listener, Subject subject, String object_path) : gboolean
PolkitAgent.Listener
Method
register (RegisterFlags flags, Subject subject, String object_path, Cancellable cancellable) : void*
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:50 GMT+0800 (HKT)