diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-04-05 20:48:53 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-04-05 20:48:53 -0700 |
commit | 6f55fac6e0fef226c4ac70e15e6c2884abc95332 (patch) | |
tree | 3f6e8d962997f95e3a226289792a15f3fcee32af /samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx | |
parent | 0d4a42ede11716ddec2d425a72bd25a8e06e7b7e (diff) | |
download | DotNetOpenAuth-6f55fac6e0fef226c4ac70e15e6c2884abc95332.zip DotNetOpenAuth-6f55fac6e0fef226c4ac70e15e6c2884abc95332.tar.gz DotNetOpenAuth-6f55fac6e0fef226c4ac70e15e6c2884abc95332.tar.bz2 |
Added DetectGoogleSession sample.
Closes #21
Diffstat (limited to 'samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx')
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx b/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx new file mode 100644 index 0000000..f8b7dfd --- /dev/null +++ b/samples/OpenIdRelyingPartyWebForms/DetectGoogleSession.aspx @@ -0,0 +1,14 @@ +<%@ 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 NOT logged into Google!" runat="server" Visible="false" + ID="YouAreNotLoggedInLabel" /> +</asp:Content> |