Zend certified PHP/Magento developer

Save complex object during flask session

I need advice.
My flask application has no database.
I have a custom authorization system.
I connect to the API service and during the user session, I make requests to it.
Tell me where to save the connector complex object) to the service so that it is different for each user.
Thank you very much.