Created
January 29, 2014 16:09
-
-
Save xdumaine/8691260 to your computer and use it in GitHub Desktop.
Adapted from the DotNetOpenAuth > Samples > OpenIdProviderMVC example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal static OpenIdProvider OpenIdProvider = new OpenIdProvider(); | |
public ActionResult Id() | |
{ | |
if (Request.AcceptTypes != null && Request.AcceptTypes.Contains("application/xrds+xml")) | |
{ | |
ViewData["OPIdentifier"] = true; | |
} | |
return View(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment