轻松搞定Googe账户登录 google oauth2 api

openkk 12年前

google oauth2 api简单封装,类似sina微博,目前仅仅支持用户信息获取。

配置google.config.properties ,然后去https://code.google.com/apis/console#access 申请client_id,client_secret 等即可使用,关于google oathor2 相关文档 https://developers.google.com/accounts/docs/OAuth2WebServer#libraries

本封装采用maven,mvn eclipse:eclipse 后即可方便导入eclipse,运行环境最好使用eclipse自带maven插件支持,否则配置文件在CurrentThread的ClassLoader中无法找到。

本软使用gitc服务,你可使用git下载,且主干没进行锁定,你可参与其中随意修改提交,enjoy your self。

项目主页:http://www.open-open.com/lib/view/home/1339844680393