summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx
blob: 21b6a12532d50477f50ee218ece3edbb6857caad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DetectGoogleSession.aspx.cs"
	Inherits="OpenIdRelyingPartyWebForms.DetectGoogleSession" ValidateRequest="false"
	MasterPageFile="~/Site.Master" Async="true" %>

<%@ Register Assembly="DotNetOpenAuth.OpenId.RelyingParty.UI" Namespace="DotNetOpenAuth.OpenId.RelyingParty"
	TagPrefix="rp" %>
<%@ Register Assembly="DotNetOpenAuth.OpenId.RelyingParty.UI" Namespace="DotNetOpenAuth.OpenId.Extensions.SimpleRegistration"
	TagPrefix="sreg" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Main">
	<asp:Label Text="We've detected that you're logged into Google!" runat="server" Visible="false"
		ID="YouAreLoggedInLabel" />
	<asp:Label Text="We've detected that you're logged into Google because your Google account trusts this site!" runat="server" Visible="false"
		ID="YouTrustUsLabel" />
	<asp:Label Text="We've detected that you're NOT logged into Google!" runat="server" Visible="false"
		ID="YouAreNotLoggedInLabel" />
</asp:Content>