Re: [OAUTH-WG] Definition of XML response format

2010-06-15 Thread Eran Hammer-Lahav
Arnott Sent: Friday, June 04, 2010 5:56 AM To: OAuth WG (oauth@ietf.org) Subject: Re: [OAUTH-WG] Definition of XML response format In the absence of anyone else volunteering an XML format, what would you say to this as a proposal (because the implementation of which happens to be simple for me

Re: [OAUTH-WG] Definition of XML response format

2010-06-15 Thread Andrew Arnott
:56 AM *To:* OAuth WG (oauth@ietf.org) *Subject:* Re: [OAUTH-WG] Definition of XML response format In the absence of anyone else volunteering an XML format, what would you say to this as a proposal (because the implementation of which happens to be simple for me): root type=object

Re: [OAUTH-WG] Definition of XML response format

2010-06-15 Thread William Mills
] Definition of XML response format In the absence of anyone else volunteering an XML format, what would you say to this as a proposal (because the implementation of which happens to be simple for me): root type=object access_token type=stringsome

Re: [OAUTH-WG] Definition of XML response format

2010-06-15 Thread Kris Selden
From: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of Andrew Arnott Sent: Friday, June 04, 2010 5:56 AM To: OAuth WG (oauth@ietf.org) Subject: Re: [OAUTH-WG] Definition of XML response format In the absence of anyone else volunteering an XML format, what would you say

Re: [OAUTH-WG] Definition of XML response format

2010-06-15 Thread Kris Selden
for now. EHL From: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of Andrew Arnott Sent: Friday, June 04, 2010 5:56 AM To: OAuth WG (oauth@ietf.org) Subject: Re: [OAUTH-WG] Definition of XML response format In the absence of anyone else volunteering an XML format, what

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread Andrew Arnott
In the absence of anyone else volunteering an XML format, what would you say to this as a proposal (because the implementation of which happens to be simple for me): root type=object access_token type=stringsome access token/access_token refresh_token type=stringsome refresh

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread George Fletcher
I don't know if this is helpful or not... but there was a proposed extension for OAuth 1.0 dealing with encoding OAuth responses in different body formats... this can be found on the now extinct oauth-extensions google group.

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread Andrew Arnott
Thanks, George. From that I get this: response oauth_parameter name=oauth_tokentoken/oauth_parameter oauth_parameter name=oauth_token_secretsecret/oauth_parameter /response From the text around it, it sounds like SPs were permitted to add to this (presumably using their own

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread Justin Richer
I'd personally rather see something flatter, even with an implied root namespace defined in the spec. Maybe like: oauth access_tokenasdfasoij234f/access_token refresh_token2f098jadfasdfasdf/refresh_token expires_in300/expires_in /oauth Mirroring the key-value format for the

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread Kris Selden
How about keeping it even more flat and compact: oauth access_token=asdfasoij234f refresh_token=2f098jadfasdfasdf expires_in=300 / This also is more simple on the DOM side, just doc.root['access_token'] instead of traversing or xpath. Anyway, I think OAuth 2 is better served in general by

Re: [OAUTH-WG] Definition of XML response format

2010-06-04 Thread Anthony Nadalin
) Subject: Re: [OAUTH-WG] Definition of XML response format Thanks, George. From that I get this: response oauth_parameter name=oauth_tokentoken/oauth_parameter oauth_parameter name=oauth_token_secretsecret/oauth_parameter /response From the text around it, it sounds like SPs