简体   繁体   中英

Is there a way to get the email address associated with a Windows Live ID?

I have a client that wants to use Windows Live ID Delegated Authentication SDK 1.2 to provide authentication for their website.

The architecture that they proposed was to have a database table that contained the email addresses of users who were authorized to use the site. Once the user logged using Windows Live ID web authentication, they wanted to compare the email address associated with that live ID to the table and allow/disallow the user access to the site based on that.

Is this possible? I can't find any documentation that talks about how to get the email address associated with the Windows Live ID.

I was originally looking for the way to do this with the Rest API, but it doesn't seem to work.

Using "wl.basics, wl.emails" solved the problem, albeit I don't have a fallback for when javascript is disabled.

Example from Rup: http://isdk.dev.live.com/ISDK.aspx?category=Core+Concepts&index=1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM