diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-28 21:37:01 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-28 21:37:01 -0800 |
commit | 251fee71aff7c9bec7dde226907be0075ad6a5f6 (patch) | |
tree | dc483448162df5daaabf30fb58b71f99c8e9d479 /src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs | |
parent | f44b82d128498f8e4b34026f0d72ffe39ee43575 (diff) | |
parent | 393d940b76220db38084d1c427c7bd42d36abf6f (diff) | |
download | DotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.zip DotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.tar.gz DotNetOpenAuth-251fee71aff7c9bec7dde226907be0075ad6a5f6.tar.bz2 |
Target exclusively .NET Framework 4.5.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs index 540773f..bd129c0 100644 --- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs +++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs @@ -10,9 +10,7 @@ namespace DotNetOpenAuth.OAuth2 { using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Net; -#if CLR4 using System.Net.Http; -#endif using System.Security.Principal; using System.ServiceModel.Channels; using System.Text; @@ -129,7 +127,6 @@ namespace DotNetOpenAuth.OAuth2 { } } -#if CLR4 /// <summary> /// Discovers what access the client should have considering the access token in the current request. /// </summary> @@ -146,7 +143,6 @@ namespace DotNetOpenAuth.OAuth2 { Requires.NotNull(request, "request"); return this.GetAccessToken(new HttpRequestInfo(request), requiredScopes); } -#endif /// <summary> /// Discovers what access the client should have considering the access token in the current request. @@ -197,7 +193,6 @@ namespace DotNetOpenAuth.OAuth2 { return this.GetPrincipal(new HttpRequestInfo(request, requestUri), requiredScopes); } -#if CLR4 /// <summary> /// Discovers what access the client should have considering the access token in the current request. /// </summary> @@ -214,6 +209,5 @@ namespace DotNetOpenAuth.OAuth2 { Requires.NotNull(request, "request"); return this.GetPrincipal(new HttpRequestInfo(request), requiredScopes); } -#endif } } |