The same way Steam does it. If you buy a physical PC game that uses Steamworks, you can install the game using the disc, and activate the game on Steam to have it permanently in your library. After that, Steam never requires you to check in to validate your games.