Reference / @getenginex/sdk/extension / ExtensionAuthMode
ExtensionAuthMode
ExtensionAuthMode =
"none"|"optional"|"required"
How the request uses the client's session: 'none' never sends a token; 'optional' sends one if there is one (and, if the gateway answers 401 and the session cannot be renewed, retries without a token); 'required' rejects with UNAUTHENTICATED without a session. With a token, a 401 triggers session renewal and a single retry, exactly as in the core methods.