Onelogin php saml:index=1在AssertionConsumerService元素的lib/saml2/Metadata.php中硬编码

Onelogin php saml:index=1在AssertionConsumerService元素的lib/saml2/Metadata.php中硬编码,php,saml,onelogin,Php,Saml,Onelogin,我正在使用PHPSAML库并实现服务提供者部分。 我使用库生成元数据 在Metadata.php中,对于AssertionConsumerService和AttributeConsumingService XML元素,构建器内部函数索引属性设置为1 我有以下问题 为什么直接设置为1 如果我将值更改为0,可以吗?会产生什么影响?我们是否在代码中的任何地方使用此index=“1”值 当我尝试在IDP中配置生成元数据时,它给出了以下错误 严重-/EntityDescriptor/EntityDe

我正在使用PHPSAML库并实现服务提供者部分。 我使用库生成元数据

在Metadata.php中,对于AssertionConsumerService和AttributeConsumingService XML元素,构建器内部函数索引属性设置为1

我有以下问题

  • 为什么直接设置为1
  • 如果我将值更改为0,可以吗?会产生什么影响?我们是否在代码中的任何地方使用此index=“1”值
当我尝试在IDP中配置生成元数据时,它给出了以下错误

严重-/EntityDescriptor/EntityDescriptor/SPSSODescriptor/AssertionConsumerService/@index AssertionConsumerService索引应为0

请说明如果我将值从1更改为0会产生什么影响

提前谢谢你