AuthTokenCallback

typealias AuthTokenCallback = (chatId: String) -> Deferred<String>

Callback for providing an authentication token to the SDK. The SDK calls this with the current chatId; return a Deferred that resolves to a valid JWT token string.