您的位置:首頁源碼下載Java源碼

SocialAuth源碼下載 - Open ID注冊和驗證的Java列庫

授權(quán)形式: 免費版
更新時間: 2011-01-04 11:40:07
軟件語言: 英文
軟件平臺: Windows,Linux
軟件類別: 程序源碼
文件大小: 76KB
評論等級: ★★★☆☆
下載次數(shù): 0(今日:,本周:,本月:

軟件簡介

SocialAuth是一個用于需要通過Google、Yahoo、Facebook、Twitter和其它Open ID提供者注冊和驗證用戶的Web應(yīng)用開發(fā)的Java列庫。還支持從Google,Yahoo或Hotmail導(dǎo)入聯(lián)系人信息。新版本支持LinkedIn。

Why SocialAuth¶

There are so many libraries out there which implement OpenID and oAuth, so why another library? There many practical challenges that we faced while doing the implementation of above use cases. None of them is insurmountable but the developer could spend a couple of weeks solving these, which we actually did and hence decided to make things better for the community.

    * There are many libraries for implementing Open ID and many for implementing oAuth. It becomes a difficult exercise to choose one that will do the integration quickly with the providers you want.
    * Some libraries do not implement all the features and it becomes known only in the later stages of implementation – for example we found out that openid4java does not implement the hybrid protocol. We also found out that it is not easy to integrate dyuproject library.
    * Even after implementing using the library, it does not work out of the box for all providers. There are always certain things specific to a certain provider. For example the scopes are different as well as some steps in authorization may be different.
    * Getting the actual data, for example contacts of a user is out of the scope of these protocols and hence most libraries do not implement this functionality.

So what we implemented is a wrapper that leverages these existing libraries, and works out of the box without requiring you to face the above challenges. You get the same interface to deal with integration of every provider.

贊助商鏈接: