This is driving me crazy - I can't find any documentation anywhere stating any special things I might be missing to have access to this class.
This says there's no extension method called GetQueryNameValuePairs for HttpRequestMessage:
var token = request.GetQueryNameValuePairs().SingleOrDefault(x => x.Key == OAuthConstants.AuthorzationParam).Value; Here are my usings:
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using GoodBreaksClasses; using GoodBreaksTypes; using Newtonsoft.Json; using OAuth2.Mvc; using System.Web.Http.ValueProviders; using System.Net.Http.Formatting; Some of these I don't need, but I was trying to find the library that would work for me; I know System.Web.Http should be enough ...
Has anyone seen this before???