summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyMvc/Views/Home/Index.aspx
blob: be4bd2027705a1ada10dbc63d8f01bd9fc66aebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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://dotnetopenauth.net">DotNetOpenAuth</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>