本文介绍了打开Auth类,以允许通过Facebook,Google,Twitter等登录->就像这样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个php库包含我通过fb,google,twitter,yahoo等登录所需的所有内容?

类似于SO的工作原理.

谢谢

解决方案

OAuth与open-id facebook使用oauth的不同之处在于,您实际上可以提取一些facebook数据,而使用open-id则可以维护会话,只是认证是由开放身份提供商(google)完成

您可以为此目的使用Janrain参与,并且还有一个名为"open-id enabled"的开源库,现在也可以在janrain下使用.

Is there a php library that has all the stuff I need to do logins via fb, google, twitter, yahoo etc?

Something like how the SO one works.

Thanks

解决方案

OAuth is different from the open-id facebook uses oauth by that you can actually pull some facebook data while with open-id u can maintain the session just authentication is done by the open-id provider (google)

you can use the Janrain-engage for this purpose and there is also a open-source lib available named "open-id enabled" thats too now under janrain.. google it

这篇关于打开Auth类,以允许通过Facebook,Google,Twitter等登录->就像这样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 09:10