summaryrefslogtreecommitdiffstats
path: root/projecttemplates/MvcRelyingParty/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Controllers')
-rw-r--r--projecttemplates/MvcRelyingParty/Controllers/AuthController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/projecttemplates/MvcRelyingParty/Controllers/AuthController.cs b/projecttemplates/MvcRelyingParty/Controllers/AuthController.cs
index 446c6ac..3089b89 100644
--- a/projecttemplates/MvcRelyingParty/Controllers/AuthController.cs
+++ b/projecttemplates/MvcRelyingParty/Controllers/AuthController.cs
@@ -123,7 +123,7 @@ namespace MvcRelyingParty.Controllers {
if (!string.IsNullOrEmpty(openid_openidAuthData)) {
// Always say it's a GET since the payload is all in the URL, even the large ones.
var auth = new Uri(openid_openidAuthData);
- HttpRequestBase clientResponseInfo = new HttpRequestInfo("GET", auth, headers: Request.Headers);
+ HttpRequestBase clientResponseInfo = HttpRequestInfo.Create("GET", auth, headers: Request.Headers);
response = this.RelyingParty.GetResponse(clientResponseInfo);
} else {
response = this.RelyingParty.GetResponse();
@@ -165,7 +165,7 @@ namespace MvcRelyingParty.Controllers {
}
// Always say it's a GET since the payload is all in the URL, even the large ones.
- HttpRequestBase clientResponseInfo = new HttpRequestInfo("GET", auth, headers: headers);
+ HttpRequestBase clientResponseInfo = HttpRequestInfo.Create("GET", auth, headers: headers);
response = this.RelyingParty.GetResponse(clientResponseInfo);
} else {
response = this.RelyingParty.GetResponse();