Gio.UnixConnection.prototype.receive_credentials_finish

function receive_credentials_finish(result: Gio.AsyncResult): Gio.Credentials {
    // Gjs wrapper for g_unix_connection_receive_credentials_finish()
}
  

Finishes an asynchronous receive credentials operation started with Gio.UnixConnection.prototype.receive_credentials_async.

Since 2.32

result

a Gio.AsyncResult.

Returns

a Gio.Credentials, or null on error. Free the returned object with GObject.Object.prototype.unref.