开发者

Getting started with java and OAuth - should we use code.google.com/p/oauth?

开发者 https://www.devze.com 2023-01-07 09:08 出处:网络
Trying to get started with OAuth - I have a webapp using google app engine (java). I\'d like to let users find friends via twitter, gmail, yahoo, etc etc. For this I believe I need to get them to auth

Trying to get started with OAuth - I have a webapp using google app engine (java). I'd like to let users find friends via twitter, gmail, yahoo, etc etc. For this I believe I need to get them to authorize my app, then I can use each api to search their friends/contacts etc.

I believe I'm supposed to copy all the contents of the:

net.oauth

package from here:

http://code.google.com/p/oauth/

into my own project, then I think I can get started. There's no jar of the project, so I guess we just import 开发者_运维问答the java files oursevles?

Just wondering if there's another method to getting started, like is there some official OAuth library or something?

Thanks


Ah ok found something that works: http://code.google.com/p/dyuproject


There are multiple libraries, but what seems like a good choices is SignPost, http://code.google.com/p/oauth-signpost/, since I like its focus on doing one thing right. Other libraries work ok too.

0

精彩评论

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

关注公众号