summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-12-28 21:37:01 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-28 21:37:01 -0800
commit251fee71aff7c9bec7dde226907be0075ad6a5f6 (patch)
treedc483448162df5daaabf30fb58b71f99c8e9d479 /src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs
parentf44b82d128498f8e4b34026f0d72ffe39ee43575 (diff)
parent393d940b76220db38084d1c427c7bd42d36abf6f (diff)
downloadDotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.zip
DotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.tar.gz
DotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.tar.bz2
Target exclusively .NET Framework 4.5.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs
index b2178e9..d66f4fd 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs
@@ -10,9 +10,7 @@ namespace DotNetOpenAuth.OAuth2 {
using System.Globalization;
using System.Linq;
using System.Net;
-#if CLR4
using System.Net.Http;
-#endif
using System.Security;
using System.Text;
using System.Xml;
@@ -145,7 +143,6 @@ namespace DotNetOpenAuth.OAuth2 {
AuthorizeRequest(requestHeaders, authorization.AccessToken);
}
-#if CLR4
/// <summary>
/// Creates an HTTP handler that automatically applies an OAuth 2 (bearer) access token to outbound HTTP requests.
/// The result of this method can be supplied to the <see cref="HttpClient(HttpMessageHandler)"/> constructor.
@@ -169,7 +166,6 @@ namespace DotNetOpenAuth.OAuth2 {
Requires.NotNull(authorization, "authorization");
return new BearerTokenHttpMessageHandler(this, authorization, innerHandler ?? new HttpClientHandler());
}
-#endif
/// <summary>
/// Refreshes a short-lived access token using a longer-lived refresh token