summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs')
-rw-r--r--projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs b/projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs
index 3402bbe..fd68462 100644
--- a/projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs
+++ b/projecttemplates/WebFormsRelyingParty/OAuthTokenEndpoint.ashx.cs
@@ -41,7 +41,7 @@ namespace WebFormsRelyingParty {
public void ProcessRequest(HttpContext context) {
var serviceProvider = OAuthServiceProvider.AuthorizationServer;
IDirectResponseProtocolMessage response;
- if (serviceProvider.TryPrepareAccessTokenResponse(new HttpRequestInfo(context.Request), out response)) {
+ if (serviceProvider.TryPrepareAccessTokenResponse(new HttpRequestWrapper(context.Request), out response)) {
serviceProvider.Channel.Respond(response);
} else {
throw new InvalidOperationException();