DotNetOpenAuth and C# desktop application

风流意气都作罢 提交于 2019-12-21 02:46:12

问题


I'm using DotNetOpenAuth (http://dotnetopenauth.net/) library to authenticate at linkedIn.com. I develop a desktop application and now I'm a little confused. I'm unaware if it's possible to authenticate using a desktop application.

Does anybody know? If it's possible please show me how to do that.


回答1:


Yes, it depends on how you want to approach it, but maybe looking at the DesktopConsumer class in the API might point you in the right direction: http://docs.dotnetopenauth.net/v3.4/html/T_DotNetOpenAuth_OAuth_DesktopConsumer.htm

One example usage as a desktop app is detailed here: http://developer.yahoo.com/forum/Fantasy-Sports-API/Authenticating-with-NET-using-DotNetOpenAuth/1279209867000-4eee22f1-25fd-3589-9115-1a835add3212



来源:https://stackoverflow.com/questions/11591460/dotnetopenauth-and-c-sharp-desktop-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!