blob: cbc13eec7b1070433430c619a6cf89eeaf2ef2fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" %>
<%@ Import Namespace="OpenIdRelyingPartyWebForms" %>
<%@ Register Src="~/MembersOnly/ProfileFieldsDisplay.ascx" TagPrefix="cc1" TagName="ProfileFieldsDisplay" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Main">
<h2>
Members Only Area
</h2>
<p>
Congratulations, <b><asp:LoginName ID="LoginName1" runat="server" /></b>.
You have completed the OpenID login process.
</p>
<% if (State.PapePolicies != null) { %>
<p>A PAPE extension was included in the authentication with this content: </p>
<ul>
<% if (State.PapePolicies.NistAssuranceLevel != null) {%>
<li>Nist: <%=HttpUtility.HtmlEncode(State.PapePolicies.NistAssuranceLevel.Value.ToString())%></li>
<% }
foreach (string policy in State.PapePolicies.ActualPolicies) { %>
<li><%=HttpUtility.HtmlEncode(policy) %></li>
<% } %>
</ul>
<% } %>
<% if (State.ProfileFields != null) {
profileFieldsDisplay.ProfileValues = State.ProfileFields; %>
<p>
In addition to authenticating you, your OpenID Provider may
have told us something about you using the
Simple Registration extension:
</p>
<cc1:ProfileFieldsDisplay runat="server" ID="profileFieldsDisplay" />
<% } %>
</asp:Content>
|