# `MingaEditor.NativeIPC.Identity`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/native_ipc/identity.ex#L1)

Authenticated identity for one native IPC endpoint generation.

The identity crosses from the endpoint server to connection processes and is
also serialized into the private runtime descriptor consumed by the native
helper.

# `t`

```elixir
@type t() :: %MingaEditor.NativeIPC.Identity{
  app_instance_id: String.t(),
  app_pid: pos_integer(),
  core_instance_id: String.t(),
  euid: non_neg_integer(),
  launch_nonce: String.t() | nil,
  socket_path: String.t(),
  token: String.t()
}
```

Native IPC endpoint identity.

# `descriptor`

```elixir
@spec descriptor(t(), pos_integer()) :: map()
```

Returns the JSON descriptor fields, excluding the server-only effective UID.

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds a complete endpoint identity from validated values.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
