Looking for OAuth 1.0a sample code for .NET compact framework
I'm looki开发者_运维百科ng 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)
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.
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.
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.
精彩评论