Listing 4 shows the code to build the AuthRequest object and request the attributes using SReg.
清单4显示了建立AuthRequest对象和使用SReg请求属性的代码。
The second bold line shows how to create the SReg request through a static method call to SRegRequest.createFetchRequest().
第二行粗体代码显示了如何通过对 SRegRequest.createFetchRequest() 的静态方法调用创建 SReg 请求。
Unlike SReg, AX lets OpenID relying parties and providers exchange unlimited information, provided that both the RP and OP support the AX extension.
但是与 SReg 不同,AX 允许 OpenID 依赖方和提供者交换不受限制的信息,只要 RP 和 OP 都支持 AX 扩展。
应用推荐