Onelogin php saml:index=1在AssertionConsumerService元素的lib/saml2/Metadata.php中硬编码
我正在使用PHPSAML库并实现服务提供者部分。 我使用库生成元数据 在Metadata.php中,对于AssertionConsumerService和AttributeConsumingService XML元素,构建器内部函数索引属性设置为1 我有以下问题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
- 为什么直接设置为1
- 如果我将值更改为0,可以吗?会产生什么影响?我们是否在代码中的任何地方使用此index=“1”值