summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.AuthorizationServer
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.AuthorizationServer
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.AuthorizationServer')
-rw-r--r--src/DotNetOpenAuth.OAuth2.AuthorizationServer/DotNetOpenAuth.OAuth2.AuthorizationServer.csproj2
-rw-r--r--src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/AuthorizationServer.cs4
-rw-r--r--src/DotNetOpenAuth.OAuth2.AuthorizationServer/packages.config3
3 files changed, 4 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/DotNetOpenAuth.OAuth2.AuthorizationServer.csproj b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/DotNetOpenAuth.OAuth2.AuthorizationServer.csproj
index d63f13d..18c488d 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/DotNetOpenAuth.OAuth2.AuthorizationServer.csproj
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/DotNetOpenAuth.OAuth2.AuthorizationServer.csproj
@@ -72,6 +72,8 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
+ <Reference Include="System.Net.Http" />
+ <Reference Include="System.Net.Http.WebRequest" />
<Reference Include="Validation">
<HintPath>..\packages\Validation.2.0.1.12362\lib\portable-windows8+net40+sl5+windowsphone8\Validation.dll</HintPath>
<Private>True</Private>
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/AuthorizationServer.cs b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/AuthorizationServer.cs
index 5b47d0a..a5f7d9b 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/AuthorizationServer.cs
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/AuthorizationServer.cs
@@ -9,9 +9,7 @@ namespace DotNetOpenAuth.OAuth2 {
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
-#if CLR4
using System.Net.Http;
-#endif
using System.Security.Cryptography;
using System.Text;
using System.Web;
@@ -132,7 +130,6 @@ namespace DotNetOpenAuth.OAuth2 {
this.Channel.Respond(response);
}
-#if CLR4
/// <summary>
/// Handles an incoming request to the authorization server's token endpoint.
/// </summary>
@@ -141,7 +138,6 @@ namespace DotNetOpenAuth.OAuth2 {
public OutgoingWebResponse HandleTokenRequest(HttpRequestMessage request) {
return this.HandleTokenRequest(new HttpRequestInfo(request));
}
-#endif
/// <summary>
/// Handles an incoming request to the authorization server's token endpoint.
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/packages.config b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/packages.config
index 70866e7..1d93cf5 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/packages.config
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/packages.config
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Validation" version="2.0.1.12362" targetFramework="net40" />
+ <package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" />
+ <package id="Validation" version="2.0.1.12362" targetFramework="net45" />
</packages> \ No newline at end of file