<%@ Page Language="C#" AutoEventWireup="true" ContentType="application/xrds+xml" %> <%@ OutputCache Duration="86400" VaryByParam="none" Location="Any" %> <%-- This XRDS view is used for both the OP identifier and the user identity pages. Only a couple of conditional checks are required to share the view, but sharing the view makes it very easy to ensure that all the Type URIs that this server supports are included for all XRDS discovery. --%> <% if (ViewData["OPIdentifier"] != null) { %> http://specs.openid.net/auth/2.0/server <% } else { %> http://specs.openid.net/auth/2.0/signon <% } %> http://openid.net/extensions/sreg/1.1 http://axschema.org/contact/email <%-- Add these types when and if the Provider supports the respective aspects of the UI extension. http://specs.openid.net/extensions/ui/1.0/mode/popup http://specs.openid.net/extensions/ui/1.0/lang-pref http://specs.openid.net/extensions/ui/1.0/icon--%> <%=new Uri(Request.Url, Response.ApplyAppPathModifier("~/OpenId/Provider"))%> <% if (ViewData["OPIdentifier"] == null) { %> http://openid.net/signon/1.0 http://openid.net/extensions/sreg/1.1 http://axschema.org/contact/email <%=new Uri(Request.Url, Response.ApplyAppPathModifier("~/OpenId/Provider"))%> <% } %>