Integrating with Yahoo! AX(Attribute Exchange) implementation
I have done user authentication using Yahoo OpenID and its working till the step where i get the access token. Now, Using Yahoo! - AX (Attribute exchange) i need to get user information like email. Can anyone help me by showing a direction how to start because i could not find anything myself.
Yes you are right. I a will develop code using .Net. I downloaded the latest version of samples from http://www.dotnetopenauth.net/ but: 1) the consumers shown as example are Twitter and Google. 2) There is no mention of Yahoo! AX implementation anywhere. 3) There is no proper documentation provided for the library too.
Sorry I don't use the .NET library before. You can check with the library maintainer to see if they support Yahoo! AX.
I would suggest you start integration with Google AX first so you can get familiar with the library's usage. Then you can change the request to see if it works with Yahoo! AX. I hope it will work because both implementations follow the AX spec. If you still see any issue after that, then please come back and ask your questions.
You can only get specific fields from a persons profile as given here. In the Required field write the sregs property name (comma seperated) (like openid.ax.required=email,fullname,nickname) and then give the schema also (like openid.ax.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail)
Rest parameters need not be changed except for giving your realm,Return Url and Consumer Key