Gio.UnixCredentialsMessage.prototype.get_credentials

function get_credentials(): Gio.Credentials {
    // Gjs wrapper for g_unix_credentials_message_get_credentials()
}
  

Gets the credentials stored in message.

Since 2.26

Returns

A Gio.Credentials instance. Do not free, it is owned by message.