Looking for OAuth 1.0a sample code for .NET compact framework

有些话、适合烂在心里 提交于 2019-12-02 02:49:37

问题


I'm looking for an OAuth 1.0a sample for .NET compact framework. Preferably .netcf 3.5 but 2.0 is fine too.

I'm looking to call oauth for the foursquare.com api (http://groups.google.com/group/foursquare-api/web/oauth)


回答1:


Here's someone's detailed blog post on how to write an OAuth 1.0a consumer on NetCF.

I've also opened a DotNetOpenAuth branch targeted at NetCF, although it's not ready yet.




回答2:


Check out DotNetOpenAuth. It's an open-source (Ms-PL) .NET library for OpenID and OAuth. Samples included. Not sure if it supports compact framework, though.




回答3:


Another library that provides oauth consumer and provider support is http://code.google.com/p/oauth-dot-net/

Also, there's a code project here that uses OAuth on Windows Mobile: ffwinmobile.codeplex.com Unfortunately it looks like it's oauth 1.0.



来源:https://stackoverflow.com/questions/1535058/looking-for-oauth-1-0a-sample-code-for-net-compact-framework

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