问题
I want to create a login form for my desktop application that user can use Windows Live ID for that. I create an application in manage.dev.live.com and use Desktop Implementation section.
I use a WebBrowser
control and navigate to a given address. but I don't know how to receive the token for user.
If I have made a mistake please tell me how to fix that.
回答1:
As of June 2011, Windows Live ID supports OAUTH 2.0 and should enable you to do that (read more about it). WPF code example can be found at https://github.com/liveservices/LiveSDK/tree/master/Samples/CSharpDesktop.
来源:https://stackoverflow.com/questions/7539593/log-in-to-desktop-application-by-windows-live-id