Creates a human-readable textual representation of credentials
that can be used in logging and debug messages. The format of the
returned string may change in future GLib release.
Available since: 2.26
Return value
Type:gchar*
A string that should be freed with g_free().
The caller of the method takes ownership of the returned data, and is responsible for freeing it.