我们的要求是更改默认行为,让最终用户显式检查的“接受条款和条件”,以支持行业趋势,即告知用户,通过继续该过程,他/她正在同意使用条款和隐私政策。
因此,我们想从这种自我断言的UI:当前UX到这个UX内容和功能:所需UX。
具体来说,我正在查看TrustedFrameworkExtension.xml中具有"extension_TermsOfServiceConsented":ID的ClaimType上的以下代码
<ClaimType Id="extension_TermsOfServiceConsented">
<DisplayName>Terms of Service Consented</DisplayName>
<DataType>string</DataType>
<DefaultPartnerClaimTypes>
<Protocol Name="OAuth2" PartnerClaimType="tos_consented" />
<Protocol Name="OpenIdConnect" PartnerClaimType="tos_consented" />
<Protocol Name="SAML2" PartnerClaimType="http://schemas.[domain].com/identity/claims/tosconsented" />
</DefaultPartnerClaimTypes>
<UserInputType>CheckboxMultiSelect</UserInputType>
<Restriction>
<Enumeration Text="Accept Terms and Conditions" Value="true" SelectByDefault="false" />
</Restriction>
</ClaimType>
这里没有一个复选框,我们希望输入声明在用户选择继续时默认为"true“。为了方便这一点,我想我们需要某种隐藏的要求,将默认值设置为true。
实现此功能的最佳方法是什么?我还没有在网上或官方文档中找到这方面的实现,根据行业趋势,我认为这是一个常见的用例。
我也问过O微软这个问题,但到目前为止还没有收到微软的任何回应。还有其他人遇到同样的用例并解决了它吗?
发布于 2022-08-17 09:39:47
当用户继续时,将声明转换添加到将"extension_TermsOfServiceConsented“设置为true的用户旅程中。
如果需要,则在编写用户属性时将声明添加到持久化声明中。
所以,就像:
https://stackoverflow.com/questions/73385351
复制相似问题