summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx')
-rw-r--r--samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx16
1 files changed, 16 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx b/samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx
new file mode 100644
index 0000000..82eb924
--- /dev/null
+++ b/samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
+
+<asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
+ <h1>OpenID Relying Party </h1>
+ <h2>Provided by <a href="http://dotnetopenid.googlecode.com">DotNetOpenId</a> </h2>
+ <% if (User.Identity.IsAuthenticated) { %>
+ <p><b>You are already logged in!</b> Try visiting the
+ <%=Html.ActionLink("Members Only", "Index", "User") %>
+ area. </p>
+ <% } else { %>
+ <p>Visit the
+ <%=Html.ActionLink("Members Only", "Index", "User") %>
+ area to trigger a login. </p>
+ <p>Optionally, you can try out the <%=Html.ActionLink("JQuery login popup UX", "LoginPopup", "User")%>. </p>
+ <% } %>
+</asp:Content>