Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-24 | Add new utility class, OAuthHttpClient. | Tyler Gill | |
This class extends HttpClient and uses an OAuthHttpMessageHandler under the covers to automatically authenticate requests. Additionally, it automatically respects the global HttpContextSettings for overall timeout, read/write timeout, and SSL certificate validation. (BufferRequests isn't currently handled, as HttpClient doesn't seem to easily expose that flag, and as of .NET 4.5, seems to not buffer by default.) | |||
2018-03-21 | Make m_oauth readonly in OAuthHttpMessageHandler. | Tyler Gill | |
2018-03-20 | Add OAuthHttpMessageHandler helper class to OAuthHelper library. | Tyler Gill | |
This class implements the abstract HttpMessageHandler class (mostly via the default HttpClientHandler implementation). This abstract class is used by System.Net.Http.HttpClient as the underlying HTTP mechanism, and in this particular case is used to automatically add an authorization header to each request. It also provides a method for marking a request as one that should not be authenticated. |