How to create a cross-game management class?


First of - I’m having some difficulty describing exactly what I want. Please forgive any confusion because of this :-).

I’m working on a game where a player first needs to login and get a authentication token.
It’s not however a typical MMO style game. Instead, after logging in the player gets a list of running games and can select one.

I need a way to keep my authentication token handy and “alive” (i.e. at least every XX minutes it needs to send a ping back to the server to keep the session going).

What would be the best way to do this? I was thinking of using a GameState class but that doesn’t seem to be the right location for something like this.


I would implement my OnlineSubsystem, check implemented subsystems for Steam or Facebook: