Functions¶
|
|
|
|
|
|
|
|
|
Details¶
- Polkit.identity_from_string(str)¶
- Parameters:
str (
str
) – A string obtained fromPolkit.Identity.to_string
().- Raises:
- Returns:
A
Polkit.Identity
orNone
if error is set. Free withGObject.Object.unref
().- Return type:
Creates an object from str that implements the
Polkit.Identity
interface.
- Polkit.implicit_authorization_from_string(string)¶
- Parameters:
string (
str
) – A string- Returns:
- out_implicit_authorization:
The location of the resulting deserialization
- Return type:
(
bool
, out_implicit_authorization:Polkit.ImplicitAuthorization
)
- Polkit.implicit_authorization_to_string(implicit_authorization)¶
- Parameters:
implicit_authorization (
Polkit.ImplicitAuthorization
) –- Return type:
- Polkit.subject_from_string(str)¶
- Parameters:
str (
str
) – A string obtained fromPolkit.Subject.to_string
().- Raises:
- Returns:
A
Polkit.Subject
orNone
if error is set. Free withGObject.Object.unref
().- Return type:
Creates an object from str that implements the
Polkit.Subject
interface.