Expand description
Authentication for the UHP surface.
The same EMBACLE_API_KEY as the rest of the server, but a refusal must be
the UHP envelope with error.type of authentication_error — the suite
reads that field, so reusing the OpenAI-surface middleware would fail A-02
while looking correct.
Discovery is deliberately not behind this: a client has to be able to learn whether it is talking to a UHP server before deciding what credential to present.
Functions§
- require_
auth - Require a bearer token matching
EMBACLE_API_KEY, when one is configured.