auth • Rust AI Agent SDK

auth: Enable authentication with token.

auth

Method

</div>

This is a method of the GatewayConfig class in the gateway module.

Enable authentication with token.

Signature

python
def auth(mut self, token: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.