Product Code Database
Example Keywords: glove -data $9
barcode-scavenger
   » » Wiki: Xrds
Tag Wiki 'Xrds'.
Tag

The extensible resource descriptor sequence ( XRDS) is an XML-based that provides a list of services.


Background
The XML format used by XRDS was originally developed in 2004 by the OASIS XRI (extensible resource identifier) Technical Committee as the resolution format for XRIs. The acronym XRDS was coined during subsequent discussions between XRI TC members and developers at the first Internet Identity Workshop held in Berkeley, California in October 2005.

The protocol for discovering an XRDS document from a was formalized as the specification published by Yadis.org in March 2006. Yadis became the service discovery format for 1.1.

A common discovery service for both URLs and XRIs proved so useful that in November 2007 the XRI Resolution 2.0 specification formally added the URL-based method of XRDS discovery (Section 6). This format and discovery protocol subsequently became part of OpenID Authentication 2.0.


XRDS Simple
In early 2008, work on discovery by Eran Hammer-Lahav led to the development of XRDS Simple, a profile of XRDS that restricts it to the most basic elements and introduces some extensions to support discovery and other protocols that use specific methods. In late 2008, XRDS Simple has been cancelled and merged back into the main XRDS specification resulting in the upcoming XRD 1.0 format.


Example uses
Besides resolution, examples of typical XRDS usage include:
  • authentication for discovery and capabilities description of OpenID providers.
  • discovery for locating OAuth service endpoints and capabilities.
  • for discovery of Higgins context providers.
  • XDI.org and digital identity addressing services for generalized digital identity service discovery.
  • The data sharing protocol for discovery of XDI service endpoints and capabilities.


Example XRDS document
Following is an example of an XRDS document for the fictional =example. This document would typically be requested from a Web server via or using the content type application/xrds+xml. Note that the outer container element serves as a container for one or more (Extensible Resource Descriptor) elements. Most simple XRDS documents have only one XRD. Other services like resolution may construct a sequence of XRDs within a single XRDS document to reflect a chain of metadata about linked resources.

 
   *example
   
   2008-05-05T00:15:00.000Z
   xri://=
     

   !4C72.6C81.D78F.90B2
   http://example.com/example-user
   http://example.net/blog
   xri://=!4C72.6C81.D78F.90B2
     

   
     

     xri://=!F83.62B1.44F.2813
     xri://$res*auth*($v*2.0)
     application/xrds+xml
     http://resolve.example.com
     http://resolve2.example.com
     https://resolve.example.com
   
     

   
     http://specs.openid.net/auth/2.0/signon
     http://www.myopenid.com/server
     http://example.myopenid.com/
   
     

   
     http://openid.net/server/1.0
     http://www.livejournal.com/openid/server.bml
     http://www.livejournal.com/users/example/
   
     

   
     
     /media/pictures
     image/jpeg
     http://pictures.example.com
   
 
     


Synonyms
XRDS documents can assert zero or more for a resource. In this context, a synonym is another identifier (a or ) that identifies the same target resource. For instance, the example XRDS document above asserts four synonyms:
  1. The local synonym !4C72.6C81.D78F.90B2. This is a relative XRI synonym assigned by the provider of this XRDS document.
  2. The equivalent URL http://example.com/example-user with a priority of 10 (1 is the highest priority).
  3. The equivalent URL http://example.net/blog with a priority of 15 (a lower priority than the other equivalent URL above).
  4. The canonical identifier xri://=!4C72.6C81.D78F.90B2. This is an absolute XRI for the target resource—a persistent identifier that will never be reassigned (the functional equivalent of a Uniform Resource Name).

For full details of XRDS synonym support, see XRI Resolution 2.0, Section 5.


Service endpoints (SEPs)
The other main purpose of XRDS documents is to assert the services associated with a resource, called service endpoints or SEPs. For instance, the example XRDS document above asserts four service endpoints for the represented resource:
  1. An resolution service (type xri://$res*auth*($v*2.0)).
  2. An OpenID 2.0 authentication service (type http://openid.net/signon/2.0).
  3. An OpenID 1.0 authentication service (type http://openid.net/server/1.0).
  4. An untyped service for requesting resources with a media type image/jpeg.

For full details of XRDS service endpoints, see XRI Resolution 2.0, Sections 4.2 and 13.


Service types
In XRDS documents, a service is identified using a or . Following are listings of well-known service types.


XRI resolution
Authority Resolutionxri://$res*auth*($v*2.0)XRI Resolution 2.0March 2005
Proxy Resolutionxri://$res*proxy*($v*2.0)XRI Resolution 2.0March 2005


OpenID
OpenID 1.0http://openid.net/server/1.0OpenID Authentication 2.0, Section 14.2.1June 2005
OpenID 1.1http://openid.net/server/1.1OpenID Authentication 2.0, Section 14.2.1May 2006
OpenID 2.0 – Standard Loginhttp://specs.openid.net/auth/2.0/signonOpenID Authentication 2.0, Section 7.3.2.1.2December 2007
OpenID 2.0 – OP Identifier Loginhttp://specs.openid.net/auth/2.0/serverOpenID Authentication 2.0, Section 7.3.2.1.1December 2007
OpenID Attribute Exchange 1.0http://openid.net/srv/ax/1.0OpenID Attribute Exchange 1.0, Section 2December 2007


OAuth discovery
OAuth Discoveryhttp://oauth.net/discovery/1.0OAuth Discovery Draft 2March 2008


Licensing
XRDS is an open public royalty-free OASIS specification. The OASIS XRI Technical Committee has operated since its inception in 2003 under a royalty-free licensing policy as stated in its charter and IPR page.


See also


External links

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs
1s Time