What are the specifications for Launchpad's OpenID service?

Asked by Stas Sușcov

Hi, I'm trying to build an application for our loco team.
One of it's features is launchpad OpenID authentification.
But to get members only from our team, i need the OpenID provider to also send me the membership of the users.
Is it possible?
Where can I find the full list of specifications?

I already worked with Launchpad's API, as far as I know it offers such features, but its implementation exists only in Python, as for me I need it in PHP, is there any launchpad api library written in php? If so, I might cancel my question and switch everything else but authentication to that lib.

Thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Francis J. Lacoste
Solved:
Last query:
Last reply:
Revision history for this message
Best Francis J. Lacoste (flacoste) said :
#1

There isn't any PHP API library for Launchpad. Information on how to access the API using the HTTP protocol is available https://help.launchpad.net/API/Hacking

The OpenID server supports an OpenID extension using the namespace http://ns.launchpad.net/2007/openid-teams. It accepts a parameter called query_membership that takes a comma separated list of team names. The response will include a 'is_member' parameter in the same namespace containing the comma separated list of teams the user is a member of.

So you basically need to know the set of teams you are interested in.

Revision history for this message
Stas Sușcov (sushkov) said :
#2

Thanks Francis J. Lacoste, that solved my question.