简体   繁体   English

在注册过程中将“手机”存储在联系信息中 - Azure AD B2C 自定义策略 + MFA

[英]Store "mobilePhone" in contact info during registration - Azure AD B2C Custom policy + MFA

How to store mobile Phone Number during SignUp/Registration with MFA in Azure AD B2C Custom Policies.如何在 Azure AD B2C 自定义策略中使用 MFA 注册/注册期间存储手机号码。 What is the claim name that we can use to refer to mobile Phone我们可以用来指代手机的声明名称是什么

You can access and store a mobile phone by using the "mobile" attribute here .您可以在此处使用“移动”属性访问和存储手机。

To actually implement this you would need to follow the steps in this document .要实际执行此操作,您需要按照本文档中的步骤进行操作。 For example, the linked code adds a "city" claim, you would need to replace "city" with "mobile"例如,链接代码添加了“城市”声明,您需要将“城市”替换为“移动”

<!-- 
<BuildingBlocks>
  <ClaimsSchema> -->
    <ClaimType Id="mobile">
      <DisplayName>Mobile Phone</DisplayName>
      <DataType>string</DataType>
      <UserInputType>TextBox</UserInputType>
    </ClaimType>
  <!-- 
  </ClaimsSchema>
</BuildingBlocks>-->

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM