Creates an object from str that implements the #PolkitIdentity interface.
str
A string obtained from polkit_identity_to_string().
Creates an object from str that implements the #PolkitSubject interface.
A string obtained from polkit_subject_to_string().
Creates an object from
str
that implements the #PolkitIdentity interface.