console app using oauth or soap

My app needs to connect to some 3rd party apis to get and send data. However, both SOAP and Oauth require sessions which aren’t available in the console app.

What is the recommended way to deal with this please?

I ended up using a class level home cooked session in my console command class. I guess this makes sense, as while it is a session it is not a "web" session.