diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-02 21:22:38 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-02 21:22:38 -0800 |
commit | 36cadbb1b9bf9c6a9a97b3679f40ea155ce0a615 (patch) | |
tree | af2a6af1ce23217a2ae8190c7ad775bd540e3be8 /samples/OAuth2ProtectedWebApi/Controllers | |
parent | 09651b96839ce22116a4047876bb5a43164c1102 (diff) | |
download | DotNetOpenAuth-36cadbb1b9bf9c6a9a97b3679f40ea155ce0a615.zip DotNetOpenAuth-36cadbb1b9bf9c6a9a97b3679f40ea155ce0a615.tar.gz DotNetOpenAuth-36cadbb1b9bf9c6a9a97b3679f40ea155ce0a615.tar.bz2 |
Removes the memory crypto key store from the sample.
We now have a 'hard-coded' secret key store that trivial apps/samples may use to keep things simple until they create a database table.
Diffstat (limited to 'samples/OAuth2ProtectedWebApi/Controllers')
-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) { |