Functions

  error_quark ()
  identity_from_string (str)
  implicit_authorization_from_string (string, out_implicit_authorization)
  implicit_authorization_to_string (implicit_authorization)
  subject_from_string (str)

Details

Polkit.error_quark()
Return type:int
Polkit.identity_from_string(str)
Parameters:str (str) – A string obtained from Polkit.Identity.to_string().
Raises:GLib.Error
Returns:A Polkit.Identity or None if error is set. Free with GObject.Object.unref().
Return type:Polkit.Identity or None

Creates an object from str that implements the Polkit.Identity interface.

Polkit.implicit_authorization_from_string(string, out_implicit_authorization)
Parameters:
Return type:

bool

Polkit.implicit_authorization_to_string(implicit_authorization)
Parameters:implicit_authorization (Polkit.ImplicitAuthorization) –
Return type:str
Polkit.subject_from_string(str)
Parameters:str (str) – A string obtained from Polkit.Subject.to_string().
Raises:GLib.Error
Returns:A Polkit.Subject or None if error is set. Free with GObject.Object.unref().
Return type:Polkit.Subject

Creates an object from str that implements the Polkit.Subject interface.