我添加了
<ClaimType Id="IdType">
<DisplayName>Identification type</DisplayName>
<DataType>string</DataType>
<UserInputType>DropdownSingleSelect</UserInputType>
<Restriction>
<Enumeration Text="CC" Value="CC" SelectByDefault="false" />
<Enumeration Text="CE" Value="CE" SelectByDefault="false" />
<Enumeration Text="TI" Value="TI" SelectByDefault="false" />
</Restriction>
</ClaimType>
解释如下:https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-configure-signup-self-asserted-custom。我做了那个例子。
在用户个人资料中,我合并了两个字段:Type(ddl字段)和用户名:
所以,基本上,我需要实现的是使用两个文件用户名进行身份验证,合并用户名字段中的两个值(因此它是唯一的)。有没有人经历过这个?