[OSM-dev] Using OAuth
Tom Hughes
tom at compton.nu
Mon Aug 31 15:46:38 BST 2009
On 30/08/09 18:36, Sven Anders wrote:
> Perhabs someone could add a username and mailaddress api call?
We are not going to be giving out email addresses to OAuth API users
anymore than we do to anybody else.
> Suggestion:
>
> GET /api/0.6/user/account/username
> GET /api/0.6/user/account/mail
>
> Also:
> GET /api/0.6/user/account/picture
> GET /api/0.6/user/account/languages
> GET /api/0.6/user/account/description
> GET /api/0.6/user/account/position/lat
> GET /api/0.6/user/account/position/lon
There is already a user details call that returns an XML document with
user information so anything new should be added to that rather than
creating extra API calls.
> I saw that my user account is having much tokens, because my application is
> always creating a new one, when the user want to have access to my app, as
> the user is not loggin in at my aplication I can not find a older token in my
> database.
>
> Is there a good reason why one user should have more than one access token for
> one application?
Matt is the expert on OAuth so I'll leave him to answer this.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list