Skip to content

AUTH_METHOD_ID

const AUTH_METHOD_ID: 65534 = 0xfffe

Defined in: protocol/src/wire-format.ts:64

Reserved method ID for the data-plane authentication handshake.

When the parent enables auth, it sends exactly one AUTH frame (methodId = this, requestId = 0, payload = the shared token bytes) as the FIRST frame on the data plane; the child must validate it before adopting the connection. Like ABORT_METHOD_ID, it cannot be used for a regular method. External clients implementing this protocol must reserve it too - see docs/rust-client-compatibility.md.