diff options
Diffstat (limited to 'samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx')
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx b/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx new file mode 100644 index 0000000..403858f --- /dev/null +++ b/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DetectGoogleSession.aspx.cs" + Inherits="OpenIdRelyingPartyWebForms.DetectGoogleSession" ValidateRequest="false" + MasterPageFile="~/Site.Master" %> + +<%@ Register Assembly="DotNetOpenAuth" Namespace="DotNetOpenAuth.OpenId.RelyingParty" + TagPrefix="rp" %> +<%@ Register Assembly="DotNetOpenAuth" 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> |