<?xml version="1.0" encoding="UTF-8"?>
<XRDS xmlns="xri://$xrds">
  
  <!-- FireEagle User-Centric OAuth Configuration -->
  <XRD xml:id="oauth" xmlns:simple="http://xrds-simple.net/core/1.0" xmlns="xri://$XRD*($v*2.0)" version="2.0">
    
    <Type>xri://$xrds*simple</Type>
    <Expires>2008-04-15T00:25:30-07:00</Expires>

    <!-- Request Token -->
    <Service>
      <Type>http://oauth.net/core/1.0/endpoint/request</Type>
      
      <Type>http://oauth.net/core/1.0/parameters/auth-header</Type>
      <Type>http://oauth.net/core/1.0/parameters/post-body</Type>
      <Type>http://oauth.net/core/1.0/parameters/uri-query</Type>
      <Type>http://oauth.net/core/1.0/signature/HMAC-SHA1</Type>
      <Type>http://oauth.net/core/1.0/signature/PLAINTEXT</Type>

      <URI>https://fireeagle.yahooapis.com/oauth/request_token</URI>
    </Service>

    <!-- User Authorization -->
    <Service>
      <Type>http://oauth.net/core/1.0/endpoint/authorize</Type>

      <Type>http://oauth.net/core/1.0/parameters/auth-header</Type>
      <Type>http://oauth.net/core/1.0/parameters/uri-query</Type>

      <URI>https://fireeagle.yahooapis.com/oauth/access_token</URI>
    </Service>

    <!-- Access Token -->
    <Service>
      <Type>http://oauth.net/core/1.0/endpoint/access</Type>

      <Type>http://oauth.net/core/1.0/parameters/auth-header</Type>
      <Type>http://oauth.net/core/1.0/parameters/post-body</Type>
      <Type>http://oauth.net/core/1.0/parameters/uri-query</Type>
      <Type>http://oauth.net/core/1.0/signature/HMAC-SHA1</Type>
      <Type>http://oauth.net/core/1.0/signature/PLAINTEXT</Type>

      <URI>http://fireeagle.yahoo.net/oauth/authorize</URI>
    </Service>

    <!-- Protected Resources -->
    <Service>
      <Type>http://oauth.net/core/1.0/endpoint/resource</Type>

      <Type>http://oauth.net/core/1.0/parameters/auth-header</Type>
      <Type>http://oauth.net/core/1.0/parameters/post-body</Type>
      <Type>http://oauth.net/core/1.0/parameters/uri-query</Type>
      <Type>http://oauth.net/core/1.0/signature/HMAC-SHA1</Type>
      <Type>http://oauth.net/core/1.0/signature/PLAINTEXT</Type>
    </Service>

    <!-- Consumer Identity -->
    
      <!-- Manual Consumer Identity Allocation -->
      <Service>
        <Type>http://oauth.net/discovery/1.0/consumer-identity/oob</Type>
        <URI>https://fireeagle.yahoo.net/developer/create</URI>
      </Service>
  </XRD>
  
  <!-- Global Resource Definition -->
  
  <XRD xmlns="xri://$XRD*($v*2.0)" version="2.0">
    <Type>xri://$xrds*simple</Type>
    
    <!-- OAuth Endpoints Definition -->
    <Service>
      <Type>http://oauth.net/discovery/1.0</Type>
      <URI>#oauth</URI>
    </Service>
  </XRD>
  
</XRDS>