Skip to content

Commit 98d875a

Browse files
committed
virst version, before tech review
1 parent d2477d1 commit 98d875a

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

articles/active-directory-b2c/phone-factor-technical-profile.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,11 @@ The following example shows a phone factor technical profile for enrollment and
4545

4646
The InputClaims element must contain following claims. You can also map the name of your claim to the name defined in the phone factor technical profile.
4747

48-
```XML
49-
<InputClaims>
50-
<!--A unique identifier of the user. The partner claim type must be set to `UserId`. -->
51-
<InputClaim ClaimTypeReferenceId="userIdForMFA" PartnerClaimType="UserId" />
52-
<!--A claim that contains the phone number. If the claim is empty, Azure AD B2C asks the user to enroll a new phone number. Otherwise, it asks the user to verify the phone number. -->
53-
<InputClaim ClaimTypeReferenceId="strongAuthenticationPhoneNumber" />
54-
</InputClaims>
55-
```
48+
| Data Type| Required | Description |
49+
| --------- | -------- | ----------- |
50+
| string| Yes | A unique identifier of the user. The claim name, or PartnerClaimType must be set to `UserId`.|
51+
| string| Yes | List of claim types that store a phone number. If the input claims' value are empty, Azure AD B2C asks the user to type and verify a phone number. Otherwise, Azure AD B2C presents the phone number, asking the user to verify it. In case of multiple input claims, the user is asked to choose and verify one of them. |
52+
5653

5754
The following example demonstrates using multiple phone numbers. For more information, see [sample policy](https://github.com/azure-ad-b2c/samples/tree/master/policies/mfa-add-secondarymfa).
5855

@@ -70,14 +67,10 @@ The InputClaimsTransformations element may contain a collection of InputClaimsTr
7067

7168
The OutputClaims element contains a list of claims returned by the phone factor technical profile.
7269

73-
```xml
74-
<OutputClaims>
75-
<!-- The verified phone number. The partner claim type must be set to `Verified.OfficePhone`. -->
76-
<OutputClaim ClaimTypeReferenceId="Verified.strongAuthenticationPhoneNumber" PartnerClaimType="Verified.OfficePhone" />
77-
<!-- Indicates whether the new phone number has been entered by the user. The partner claim type must be set to `newPhoneNumberEntered`. -->
78-
<OutputClaim ClaimTypeReferenceId="newPhoneNumberEntered" PartnerClaimType="newPhoneNumberEntered" />
79-
</OutputClaims>
80-
```
70+
| Data Type| Required | Description |
71+
| -------- | ----------- |----------- |
72+
| boolean | Yes | Indicates whether the new phone number has been entered by the user. The claim name, or PartnerClaimType must be set to `newPhoneNumberEntered`|
73+
| string| Yes | The verified phone number. The claim name, or PartnerClaimType must be set to `Verified.OfficePhone`.|
8174

8275
The OutputClaimsTransformations element may contain a collection of OutputClaimsTransformation elements that are used to modify the output claims or generate new ones.
8376

@@ -92,6 +85,8 @@ The **CryptographicKeys** element is not used.
9285
| --------- | -------- | ----------- |
9386
| ContentDefinitionReferenceId | Yes | The identifier of the [content definition](contentdefinitions.md) associated with this technical profile. |
9487
| ManualPhoneNumberEntryAllowed| No | Specify whether or not a user is allowed to manually enter a phone number. Possible values: `true` or `false` (default).|
88+
| setting.authenticationMode | No | The method to validate the phone number. Possible values: `sms`, `phone` or `mixed` (default).|
89+
| setting.autodial| No| Specify whether the technical profile should auto dial or auto send an SMS. Possible values: `true` or `false` (default). Auto dial requires the `setting.authenticationMode` metadata be set to `sms`, or `phone`. The input claims collection must have a single phone number. |
9590

9691
### UI elements
9792

0 commit comments

Comments
 (0)