diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-03 08:41:16 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-03 08:41:16 -0800 |
commit | 475b47ab8eaa23e064763b05539fa750accebfdc (patch) | |
tree | 785a8c82ec1d8884fc51c201c23040923cbfa6fc /samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs | |
parent | 74b6b4efd2be2680e3067f716829b0c9385ceebe (diff) | |
parent | 1fdcca1a8019189237e86907f220307e2ccd61c9 (diff) | |
download | DotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.zip DotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.tar.gz DotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.tar.bz2 |
Merge branch 'OAuthSimple' into httpclient
Diffstat (limited to 'samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs')
-rw-r--r-- | samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs b/samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs index 2e2873a..a6ecf32 100644 --- a/samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs +++ b/samples/OAuth2ProtectedWebApi/Controllers/TokenController.cs @@ -1,14 +1,12 @@ namespace OAuth2ProtectedWebApi.Controllers { - using System; - using System.Collections.Generic; - using System.Linq; - using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using DotNetOpenAuth.OAuth2; + using OAuth2ProtectedWebApi.Code; + public class TokenController : ApiController { // POST /api/token public Task<HttpResponseMessage> Post(HttpRequestMessage request) { |