Import line: | Polkit = imports.gi.Polkit; |
GIR File: | Polkit-1.0.gir |
C documentation: | PolkitSubject |
Interface : | Subject |
Implementations: | Polkit.SystemBusName, Polkit.UnixProcess, Polkit.UnixSession |
None |
Method / Constructor | Defined By | |
---|---|---|
|
Polkit.Subject | |
|
Polkit.Subject | |
exists_finish
(AsyncResult res)
:
gboolean
|
Polkit.Subject | |
exists_sync
(Cancellable cancellable)
:
gboolean
|
Polkit.Subject | |
hash
()
:
guint32
|
Polkit.Subject | |
to_string
()
:
String
|
Polkit.Subject |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Polkit
Method |
|
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 |
|
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 |
|
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
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
Method |
|
Polkit.UnixSession
Method |
|
Polkit.UnixSession
Method |
|
Polkit.UnixSession
Method |
|
PolkitAgent
Method |
|
PolkitAgent.Listener
Method |
register
(RegisterFlags flags, Subject subject, String object_path, Cancellable cancellable)
:
void*
|