【发布时间】:2012-07-21 10:38:06
【问题描述】:
我正在使用DotNetOpenAuth (http://dotnetopenauth.net/) 库在linkedIn.com 进行身份验证。我开发了一个桌面应用程序,现在我有点困惑。我不知道是否可以使用桌面应用程序进行身份验证。
有人知道吗?如果可能,请告诉我如何做到这一点。
【问题讨论】:
标签: c# .net-4.0 dotnetopenauth
我正在使用DotNetOpenAuth (http://dotnetopenauth.net/) 库在linkedIn.com 进行身份验证。我开发了一个桌面应用程序,现在我有点困惑。我不知道是否可以使用桌面应用程序进行身份验证。
有人知道吗?如果可能,请告诉我如何做到这一点。
【问题讨论】:
标签: c# .net-4.0 dotnetopenauth
是的,这取决于您要如何处理它,但也许查看 API 中的 DesktopConsumer 类可能会为您指明正确的方向:http://docs.dotnetopenauth.net/v3.4/html/T_DotNetOpenAuth_OAuth_DesktopConsumer.htm
此处详细介绍了作为桌面应用程序的一个示例用法:http://developer.yahoo.com/forum/Fantasy-Sports-API/Authenticating-with-NET-using-DotNetOpenAuth/1279209867000-4eee22f1-25fd-3589-9115-1a835add3212
【讨论】: