summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-12 23:52:27 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-12 23:52:27 -0800
commit6c7a41277312bfc42aabf5ecbe5fc58e99243f37 (patch)
treeaa432a97b2c7db8532939fd43c7faccca62e2488 /projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs
parentf7c578cc7c7713de3348a839d0d9caeba643a33d (diff)
downloadDotNetOpenAuth-6c7a41277312bfc42aabf5ecbe5fc58e99243f37.zip
DotNetOpenAuth-6c7a41277312bfc42aabf5ecbe5fc58e99243f37.tar.gz
DotNetOpenAuth-6c7a41277312bfc42aabf5ecbe5fc58e99243f37.tar.bz2
Fixed a bunch of bugs in the project template's oauth sp implementation.
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs')
-rw-r--r--projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs b/projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs
index faf0888..274b5da 100644
--- a/projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs
+++ b/projecttemplates/WebFormsRelyingParty/OAuth.ashx.cs
@@ -9,6 +9,7 @@ namespace WebFormsRelyingParty {
using System.Collections.Generic;
using System.Linq;
using System.Web;
+ using System.Web.SessionState;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OAuth;
using DotNetOpenAuth.OAuth.Messages;
@@ -17,7 +18,7 @@ namespace WebFormsRelyingParty {
/// <summary>
/// Responds to incoming OAuth Service Provider messages.
/// </summary>
- public class OAuth : IHttpHandler {
+ public class OAuth : IHttpHandler, IRequiresSessionState {
/// <summary>
/// Initializes a new instance of the <see cref="OAuth"/> class.
/// </summary>