summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderWebForms/decide.aspx
blob: ddae8e7606f70bf19b416cefb49a75d5785e8b04 (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
<%@ Page Language="C#" AutoEventWireup="true" Inherits="OpenIdProviderWebForms.decide"
	CodeBehind="decide.aspx.cs" MasterPageFile="~/Site.Master" Async="true" EnableSessionState="true" %>

<%@ Register Src="ProfileFields.ascx" TagName="ProfileFields" TagPrefix="uc1" %>
<asp:Content runat="server" ContentPlaceHolderID="Main">
	<p><asp:Label ID="siteRequestLabel" runat="server" Text="A site has asked to authenticate that you own the identifier below." />
		You should only do this if you wish to log in to the site given by the Realm.</p>
	<p>This site <asp:Label ID="relyingPartyVerificationResultLabel" runat="server" Font-Bold="True"
		Text="failed" /> verification. </p>
	<table>
		<tr>
			<td>Identifier: </td>
			<td><asp:Label runat="server" ID='identityUrlLabel' /> </td>
		</tr>
		<tr>
			<td>Realm: </td>
			<td><asp:Label runat="server" ID='realmLabel' /> </td>
		</tr>
	</table>
	<asp:Panel runat="server" ID="OAuthPanel" Visible="false">
		<p>In addition the relying party has asked for permission to access your private data. </p>
		<asp:CheckBox runat="server" Text="Allow the relying party to access my private data" ID="oauthPermission" />
	</asp:Panel>
	<p>Allow this to proceed? </p>
	<uc1:ProfileFields ID="profileFields" runat="server" Visible="false" />
	<asp:Button ID="yes_button" OnClick="Yes_Click" Text="  yes  " runat="Server" />
	<asp:Button ID="no_button" OnClick="No_Click" Text="  no  " runat="Server" />
</asp:Content>