You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/phone-factor-technical-profile.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,11 @@ ms.subservice: B2C
20
20
21
21
Azure Active Directory B2C (Azure AD B2C) provides support for enrolling and verifying phone numbers. This technical profile:
22
22
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.
26
25
- 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.
29
28
30
29
## Protocol
31
30
@@ -41,15 +40,24 @@ The following example shows a phone factor technical profile for enrollment and
41
40
</TechnicalProfile>
42
41
```
43
42
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.
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.
47
56
48
57
| Data Type| Required | Description |
49
58
| --------- | -------- | ----------- |
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. |
53
61
54
62
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).
55
63
@@ -61,8 +69,6 @@ The following example demonstrates using multiple phone numbers. For more inform
61
69
</InputClaims>
62
70
```
63
71
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
-
66
72
## Output claims
67
73
68
74
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](
95
101
## Next steps
96
102
97
103
- Check the [social and local accounts with MFA](https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/tree/master/SocialAndLocalAccountsWithMfa) starter pack.
0 commit comments