Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 LightOpenID 合并 openid 身份验证。我修改了 example-google.php 中的发现 url 以与 yahoo 集成!但我没有得到任何属性(我至少能够用谷歌获取电子邮件 ID。)。
http://pastebin.com/08RzvsGy
仅适用于任何其他日夜搜索从 lightopenid 返回的电子邮件地址的简单答案的人。感谢您发布您的代码。它有所帮助。以防其他人不点击您的链接。这是您上面页面中允许传输电子邮件地址的代码。
$openid->required = array('contact/email'); // optional data $openid->optional = array('namePerson','namePerson/friendly','birthDate','person/gender');