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.
Summary
Functions
Returns the JSON descriptor fields, excluding the server-only effective UID.
Builds a complete endpoint identity from validated values.
Types
@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.
Functions
@spec descriptor(t(), pos_integer()) :: map()
Returns the JSON descriptor fields, excluding the server-only effective UID.
Builds a complete endpoint identity from validated values.