title: Infinite session using Electron framework
body: <p>We are building a desktop client(using Electron framework) which will communicate with a remote server via REST API. We want our desktop client to be in the logged-in state for an infinite time. 
  I am aware of this fact that credentials of user need to be stored securely for this purpose. 
  But how can we achieve this Electron framework so that it renews user session continuously on session expiration?</p>