The type of native credentials to get.
The pointer to native credentials or NULL if the operation there is no gio.Credentials support for the OS or if native_type isn't supported by the OS. Do not free the returned data, it is owned by credentials.
2.26
Gets a pointer to native credentials of type native_type from credentials.
It is a programming error (which will cause a warning to be logged) to use this method if there is no gio.Credentials support for the OS or if native_type isn't supported by the OS.