summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderMvc/Controllers/HomeController.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-03 11:48:03 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-03 11:48:03 -0800
commit71bc6d9e10f7f49e6229121d8257c90df2563cb1 (patch)
tree8839cc1d705decc7f59c6f38842a1fdb946dbeeb /samples/OpenIdProviderMvc/Controllers/HomeController.cs
parent1328af341acee67bc7b3cdff1f8d6b0151a429cd (diff)
downloadDotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.zip
DotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.tar.gz
DotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.tar.bz2
Updated the way the MVC Provider sample handles XRDS, PPID and normal user identities.
Diffstat (limited to 'samples/OpenIdProviderMvc/Controllers/HomeController.cs')
-rw-r--r--samples/OpenIdProviderMvc/Controllers/HomeController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/OpenIdProviderMvc/Controllers/HomeController.cs b/samples/OpenIdProviderMvc/Controllers/HomeController.cs
index 5ba08b3..fb03ce2 100644
--- a/samples/OpenIdProviderMvc/Controllers/HomeController.cs
+++ b/samples/OpenIdProviderMvc/Controllers/HomeController.cs
@@ -9,6 +9,7 @@
public class HomeController : Controller {
public ActionResult Index() {
if (Request.AcceptTypes.Contains("application/xrds+xml")) {
+ ViewData["OPIdentifier"] = true;
return View("Xrds");
}
@@ -21,6 +22,7 @@
}
public ActionResult Xrds() {
+ ViewData["OPIdentifier"] = true;
return View();
}
}