The canonical protocol for httpx.Auth is that the implementation may produce multiple httpx.Requests, and the caller (normally httpx client) executes all of them, sends back responses and returns the last response as the result.
_MultiAuth calls next only once and ignores the result, assuming the auth_flow method does everything in one shot and changes the request in-place. It doesn't follow the upstream protocol at all.
The canonical protocol for httpx.Auth is that the implementation may produce multiple
httpx.Requests, and the caller (normally httpx client) executes all of them, sends back responses and returns the last response as the result._MultiAuthcallsnextonly once and ignores the result, assuming theauth_flowmethod does everything in one shot and changes the request in-place. It doesn't follow the upstream protocol at all.