On what .NET Framework(s) is DotNetOpenAuth available?

旧时模样 提交于 2019-12-20 17:29:38

问题


Most (all?) OAuth resources - both information about the protocol and code libraries for easily using them in your own applications - one seems to find on the internet seem to assume the application you are using it in is a web application.

I would however like to start using OAuth in my windows mobile Twitter client for interactions with Twitter where I now use Basic Authentication through a set of simple methods I hand rolled.

If I'm correct, Basic Authentication is about to be deprecated by Twitter in June of 2010, so I have a hard deadline to keep my Twitter client working after this summer. Also, I would like to be able to easily start adding some support for other services that use OAuth, such a Foursquare.

My questions for now are of course simple:

  1. Is DotNetOpenAuth only usable on the regular .NET framework, or is there a compact framework version as well?

  2. Do any of you know of any (other?) OAuth libraries that I could use OAuth on a .NET Compact Framework 3.5 application?

Can anyone help with simple answers? ;-)


回答1:


DotNetOpenAuth currently only works on the full desktop .NET Framework 3.5 and later.

There are mild designs to support .NET Compact Framework in the future for OAuth consumers as you need, but it needs an actual feature request filed, and funding. If you can do one or both of these it will increase the speed that this feature can be delivered.

That said, someone has already published a sample OAuth 1.0a implementation for .NET Compact Framework that may be useful to you.

Similar question: Looking for OAuth 1.0a sample code for .NET compact framework




回答2:


Looks like TweetSharp might be an option. Will keep you all posted as/if I learn more.



来源:https://stackoverflow.com/questions/2032997/on-what-net-frameworks-is-dotnetopenauth-available

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