且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何获取OpenID用户个人资料信息?

更新时间:2023-12-01 19:31:46

必须通过对OpenID的简单注册(SREG)或属性交换(AX)扩展,检索除Claim_id和终结点URL之外的任何信息.

Any information aside from claimed_id and endpoint URL must be retrieved via Simple Registration (SREG) or Attribute Exchange (AX) extensions to OpenID.

在进行身份验证时,您必须明确要求它们.

You must explicitly request for them when asking for authentication.

Zend的消费者SREG文档可以在这里找到:

Zend's consumer SREG documentation can be found here: http://framework.zend.com/manual/en/zend.openid.consumer.html#zend.openid.consumer.sreg

请注意,这些信息并不能得到保证,提供者可以***决定(有或没有用户输入)保留任何和所有请求的信息,或不完全支持它们.

Note that these information are not guaranteed, and providers are given the freedom to decide (with or without user input) to withhold any and all requested information, or not support them outright.