dapplo / Dapplo.HttpExtensions

.NET extensions for using the HttpClient to call Http(s) services, with less complexity
MIT License
13 stars 3 forks source link

OAuth1 simplification #7

Open Lakritzator opened 8 years ago

Lakritzator commented 8 years ago

Currently the OAuth1HttpBehaviour is mainly a wrapper and also complicate thing, this might be better implemented via some form of IHttpRequestConfiguration.

The same for the OAuth1HttpMessageHandler, this actually contains its own HttpBehaviour for the special OAuth request and make it impossible to set any specific values for this.

Maybe the OAuth1Settings could be converted to IHttpRequestConfiguration...? Anyway, the process is currently over complicated! If that was all, I might leave it, but the fact that I'm not sure about the HttpBehaviour inside the OAuth1HttpMessageHandler...

Lakritzator commented 8 years ago

currently the HttpRequestMessageConfiguration is mis-used to pass properties to the OAuth process, I'm not really sure this even works...