title: Sencha touch 2 oauth2 authentication
body: <p>Using OAuth 2 I need to limit user access to permitted resources only, where the connection to the API is made through an ext.js REST proxy. The ext.js proxy takes care of data retrieval and maintaining the model relationships. I haven't found an elegant way to make different calls from the proxy to the backend depending on the user logged in.</p>
  
  <p>I am wondering if the proxy has to be different for each user logged in to my application because each user has their own access token.</p>
  
  <p>Another option would be to make the proxy know about the logged in user during the proxy initialisation process and save this information in a persistent way.</p>
  
  <p>Has anyone solved a similar situation before?</p>