This is companion code for my blog post showing how to authenticate from a client application against Web API2 using OAuth and the OWIN authentication server.
The example client is an iOS application written using Xamarin but the C# code will work on any .Net platform.