Wrong return type of GetConnectionCredentionals in DBus specification
At https://dbus.freedesktop.org/doc/dbus-specification.html is documented
org.freedesktop.DBus.GetConnectionCredentials
as a method:
DICT<STRING,VARIANT> GetConnectionCredentials (in STRING bus_name).
The introspection data for this method contains
<method name="GetConnectionCredentials">
<arg direction="in" type="s"/>
<arg direction="out" type="a{sv}"/>
</method>
which defines it as an array of dict, which should make the correct documentation read:
org.freedesktop.DBus.GetConnectionCredentials
As a method:
ARRAY of DICT<STRING,VARIANT> GetConnectionCredentials (in STRING bus_name).