Gio.Credentials.new

function new(): Gio.Credentials {
    // Gjs wrapper for g_credentials_new()
}
  

Creates a new Gio.Credentials object with credentials matching the the current process.

Since 2.26