OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: sample XRDS for oAuth discovery


from http://oauth-specs.googlecode.com/svn/discovery/1.0/drafts/1/spec.html

  <?xml version="1.0" encoding="UTF-8"?>

<XRDS xmlns="xri://$xrds">
<XRD xmlns:oauth="http://oauth.net/discovery/1.0" xmlns="xri://$xrd*($v*2.0)">
<Query> http://api.example.com/</Query>
<Expires>2007-12-31T23:59:59Z</Expires>
<oauth:RequestParameterMethods>
<oauth:Method>AUTH-HEADER</oauth:Method>
<oauth:Method>POST-BODY</oauth:Method>
<oauth:Method>URL-QUERY</oauth:Method>
</oauth:RequestParameterMethods>
<oauth:RequestSignature>
<oauth:Method>HMAC-SHA1</oauth:Method>
</oauth:RequestSignature>
<Service>
<Type>http://oauth.net/core/1.0/endpoint/request</Type>
<URI> https://api.example.com/session/request</URI>
<oauth:HttpMethod>POST</oauth:HttpMethod>
<oauth:RequestSignature append="head">
<oauth:Method>PLAINTEXT</oauth:Method>
</oauth:RequestSignature>
</Service>
<Service>
<Type> http://oauth.net/core/1.0/endpoint/authorize</Type>
<URI>https://api.example.com/session/login</URI>
<oauth:RequestParameterMethods append="override">
<oauth:Method>URL-QUERY</oauth:Method>
</oauth:RequestParameterMethods>
</Service>
<Service>
<Type> http://oauth.net/core/1.0/endpoint/access</Type>
<oauth:HttpMethod>POST</oauth:HttpMethod>
<URI>https://api.example.com/session/activate </URI>
<oauth:RequestSignature append="head">
<oauth:Method>PLAINTEXT</oauth:Method>
</oauth:RequestSignature>
</Service>
<Service>
<Type>http://oauth.net/discovery/1.0/consumer-identity/static</Type>
<oauth:ConsumerKey>0685bd9184jfhq22</oauth:ConsumerKey>
</Service>
</XRD>
</XRDS>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]