http://schema.openid.net/contact/email和http://axschema.org/contact/email之间的差异

StackOverflow https://stackoverflow.com/questions/3284312

  •  17-09-2020
  •  | 
  •  

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

有帮助吗?

解决方案

不幸的是,没有属性交换(AX)的标准架构。但Axschema.org似乎是最接近的东西。要知道哪一个使用,我所知道的最佳方式是寻找关于OP的XRDS文档中支持哪个模式的“提示”。例如,dotnetopenauth是这样做的,并且具有良好的成功率。当XRDS不包含AX模式URI的任何时,您可以发送所有三个(是,有三个)ax属性URI格式,最好确保有用的响应。

其他提示

现在,似乎首选的AX模式URL始终是Schema.openid.net。axschema.org域已经下降了近一年(不是它需要的)。

refs: chris messina在Openid列表中 stackoverflow:谷歌只响应schema.openid.net

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top