> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# authorizeEnabled

> **get** **authorizeEnabled**(): `boolean`

`true` when this server was constructed with an
[`authorize`](/docs/agent-sdk/internals/the-socket-server#agentsocketserveroptions) hook — i.e. every
connection is negotiated as an authorized session. Front-door encoders
(e.g. the HTTP handler in the `agent-http` subpath) read this to decide
whether to open their connections with an `attach` negotiation or the
plain v1 bootstrap, so a server without `authorize` is never sent frames
it would answer with `version_mismatch`.

**Returns**

`boolean`
