开发者

Can I use DotNetOpenAuth with Hammock?

开发者 https://www.devze.com 2023-03-26 14:56 出处:网络
开发者_如何转开发The consumer application I\'m writing needs to use the REST API from LinkedIn. Currently I have the basic OAuth flow code working using Hammock.

开发者_如何转开发The consumer application I'm writing needs to use the REST API from LinkedIn. Currently I have the basic OAuth flow code working using Hammock.

But I'm not yet storing the OAuth access tokens. I have looked at DotNetOpenAuth and concluded that using it would make the flow more readable.

What I don't yet understand is how DotNetOpenAuth and Hammock would be used together in a consumer application, if at all.

I think I may want to use the deserialization strategy of Hammock when I start using the actual Groups API next. I am not sure if it makes sense to use DotNetOpenAuth for anything else then the OAuth flow. (Perhaps only to check if the tokes are still valid if the user returns to the application?)

Does anyone have experience using both (in one application), prefer one over the other, or know of situations where you may need both to accomplish OAuth/REST related tasks?


PS. I am aware of the LinkedIn Developer Toolkit. I have decided not to use that since but it doesn't support the LinkedIn Groups API and it hasn't been updated in a year.

0

精彩评论

暂无评论...
验证码 换一张
取 消