本文介绍了http://schema.openid.net/contact/email和http://axschema.org/contact/email之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

何时使用 http://schema.openid.net/contact/email 和何时在openid请求中使用 http://axschema.org/contact/email .

when to use http://schema.openid.net/contact/email and when to use http://axschema.org/contact/email in openid request.

推荐答案

不幸的是,没有用于属性交换(AX)的标准架构.但是axschema.org似乎是最接近它的东西.要知道要使用哪个模式,我所知道的最好方法是查找有关OP的XRDS文档中支持哪些模式的提示".例如,DotNetOpenAuth可以做到这一点,并且具有很高的成功率.当XRDS不包含AX模式URI的任何时,您可以发送所有三个(是的,共有三种)AX属性URI格式,可以最好地确保有用的响应.

Unfortunately there is no standard schema for Attribute Exchange (AX). But the axschema.org seems to be the closest thing to it. To know which one to use, the best way I know of is to look for a "hint" about which schema(s) are supported in the OP's XRDS document. DotNetOpenAuth does this, for example, and has a good success rate. When the XRDS doesn't contain any of the AX schema URIs, you can send all three (yes, there are three) AX attribute URI formats to best ensure a useful response.

这篇关于http://schema.openid.net/contact/email和http://axschema.org/contact/email之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 06:41