Skip to content

Commit fa6c276

Browse files
committed
Jas feedback
1 parent 0964d4e commit fa6c276

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

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

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ ms.subservice: B2C
2020

2121
Azure Active Directory B2C (Azure AD B2C) provides support for enrolling and verifying phone numbers. This technical profile:
2222

23-
- Provides a user interface to interact with the user.
24-
- Uses content definition to control the look and feel.
25-
- Supports both phone calls and text messages to validate the phone number.
23+
- Provides a user interface to interact with the user to verify or enrol a phone number.
24+
- Supports phone calls and text messages to validate the phone number.
2625
- Supports multiple phone numbers. The user can select one of the phone numbers to verify.
27-
- If a phone number is provided, the phone factor user interface asks the user to verify the phone number. If not provided, it asks the user to enroll a new phone number.
28-
- Returns a claim indicating whether the user provided a new phone number. You can use this claim to decide whether the phone number should be persisted to the Azure AD user profile.
26+
- Returns a claim indicating whether the user provided a new phone number. You can use this claim to decide whether the phone number should be persisted to the Azure AD B2C user profile.
27+
- Uses a [content definition](contentdefinitions.md) to control the look and feel.
2928

3029
## Protocol
3130

@@ -41,15 +40,24 @@ The following example shows a phone factor technical profile for enrollment and
4140
</TechnicalProfile>
4241
```
4342

43+
## Input claims transformations
44+
45+
The InputClaimsTransformations element may contain a collection of input claims transformation that are used to modify the input claims, or generate new ones. The following input claims transformation generates a `UserId` claims that is used later in the input claims collection.
46+
47+
```xml
48+
<InputClaimsTransformations>
49+
<InputClaimsTransformation ReferenceId="CreateUserIdForMFA" />
50+
</InputClaimsTransformations>
51+
```
52+
4453
## Input claims
4554

46-
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.
55+
The InputClaims element must contain the following claims. You can also map the name of your claim to the name defined in the phone factor technical profile.
4756

4857
| Data Type| Required | Description |
4958
| --------- | -------- | ----------- |
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. Each claim contains one phone number. If any of the input claims don't contain a phone number, the user is asked to enroll a new phone number, by typing and verifying the phone number. The validated phone number is return as an output claim. If one of the input claims contains a phone number, the phone number is presented to the user asking to verify it. If multiple input claims contain a phone number, the user is asked to choose and verify one of the phone numbers. |
52-
59+
| string| Yes | A unique identifier for the user. The claim name, or PartnerClaimType must be set to `UserId`. This claim should not contain personably identifiable information.|
60+
| string| Yes | List of claim types. Each claim contains one phone number. If any of the input claims do not contain a phone number, the user will be asked to enroll and verify a new phone number. The validated phone number is returned as an output claim. If one of the input claims contain a phone number, the user is asked to verify it. If multiple input claims contain a phone number, the user is asked to choose and verify one of the phone numbers. |
5361

5462
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).
5563

@@ -61,8 +69,6 @@ The following example demonstrates using multiple phone numbers. For more inform
6169
</InputClaims>
6270
```
6371

64-
The InputClaimsTransformations element may contain a collection of InputClaimsTransformation elements that are used to modify the input claims or generate new ones before presenting them to the phone factor page.
65-
6672
## Output claims
6773

6874
The OutputClaims element contains a list of claims returned by the phone factor technical profile.
@@ -95,4 +101,3 @@ The phone factor authentication page user interface elements can be [localized](
95101
## Next steps
96102

97103
- Check the [social and local accounts with MFA](https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/SocialAndLocalAccountsWithMfa) starter pack.
98-

0 commit comments

Comments
 (0)