title: Token based WebAPI theory from scratch
body: <p>I am interested in how token based authentication and authorization works. I am looking for a good article or rather group of articles (or book in the end) using which I finally reach enlightenment of how it works. I mean that I have found a huge number of examples and blog-posts about ASP .NET Identity, about Web API based on OWIN etc. But I couldn't find any explanation how it can be developed "from scratch": from database tables to appliction logic without any frameworks (includes EF) which wraps and hides all interesting things.</p>
  
  <p>Thank you for your patience if you have read my question to the end.</p>