title: Admin-On-Rest auto logout after timeout
body: <p>I would like the user to be automatically logged out, when the expiration time of his auth-token has come. How would I dispatch a logout action, without having access to the store (and therefore the dispatch function)?
  I feel like wrapping every view component with a timeout component which then dispatches the logout seems over the top.</p>
  
  <p>As i understand from <a href="https://github.com/marmelab/admin-on-rest/issues/229" rel="nofollow noreferrer">issue 229</a> and <a href="https://github.com/marmelab/admin-on-rest/pull/574" rel="nofollow noreferrer">issue 574</a> on github there is no clean way to access the dispatch function from the redux store of AOR while <em>not</em> being in a component.</p>
  
  <p>How would I achieve an automatic logout (with store clearance, as the logout action does)?</p>