summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderWebForms/op_xrds.aspx
blob: afcfc75de0cccdbfd4fb8c07bf9091aab16e835e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<%@ Page Language="C#" AutoEventWireup="true" ContentType="application/xrds+xml" %><?xml version="1.0" encoding="UTF-8"?>
<%--
This page is a required as part of the service discovery phase of the openid 
protocol (step 1). It simply renders the xml for doing service discovery of 
server.aspx using the xrds mechanism. 
This XRDS doc is discovered via the user.aspx page.
--%>
<xrds:XRDS
	xmlns:xrds="xri://$xrds"
	xmlns:openid="http://openid.net/xmlns/1.0"
	xmlns="xri://$xrd*($v*2.0)">
	<XRD>
		<Service priority="10">
			<Type>http://specs.openid.net/auth/2.0/server</Type>
			<Type>http://openid.net/extensions/sreg/1.1</Type>
			<URI><%=new Uri(Request.Url, Response.ApplyAppPathModifier("~/server.aspx"))%></URI>
		</Service>
	</XRD>
</xrds:XRDS>