title: asp.net web api using existing db for token authentication and user authorization
body: <p>I need to build a RESTfull web service using OAuth, bearer <code>access_token</code> and <code>refresh_token</code>. Authentication and authorization should be done by checking existing sql db.</p>
  
  <p>The web api template, provided by VS2013 writes/reads in/from its own local sqlexpress db by this connectionString:  </p>
  
  <pre><code>connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-WebApiTest-20150423094253.mdf;Initial Catalog=aspnet-WebApiTest-20150423094253;Integrated Security=True"
  </code></pre>
  
  <p>After hours of googling, I just got tutorials and examples, which do not match with my issue.</p>
  
  <p>So how can I bind my db into the project for authentication/athorization?</p>