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/claimsschema.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
8
8
ms.service: active-directory
9
9
ms.workload: identity
10
10
ms.topic: reference
11
-
ms.date: 02/16/2022
11
+
ms.date: 03/06/2022
12
12
ms.author: kengaderdus
13
13
ms.subservice: B2C
14
14
ms.custom: "b2c-support"
@@ -127,7 +127,7 @@ The **Mask** element contains the following attributes:
127
127
|`Type`| Yes | The type of the claim mask. Possible values: `Simple` or `Regex`. The `Simple` value indicates that a simple text mask is applied to the leading portion of a string claim. The `Regex` value indicates that a regular expression is applied to the string claim as whole. If the `Regex` value is specified, an optional attribute must also be defined with the regular expression to use. |
128
128
| `Regex` | No | If **`Type`** is set to `Regex`, specify the regular expression to use.
129
129
130
-
The following example configures a **PhoneNumber** claim with the `Simple` mask:
130
+
The following example configures a **PhoneNumber** claim with the `Simple` mask. For more samples, check out the [Claim simple mask live demo](https://github.com/azure-ad-b2c/unit-tests/tree/main/claims#simple-mask).
131
131
132
132
```xml
133
133
<ClaimTypeId="PhoneNumber">
@@ -142,7 +142,7 @@ The Identity Experience Framework renders the phone number while hiding the firs
142
142
143
143

144
144
145
-
The following example configures a **AlternateEmail** claim with the `Regex` mask:
145
+
The following example configures a **AlternateEmail** claim with the `Regex` mask. For more samples, check out the [Regex mask live demo](https://github.com/azure-ad-b2c/unit-tests/tree/main/claims#regex-mask).
146
146
147
147
```xml
148
148
<ClaimTypeId="AlternateEmail">
@@ -157,7 +157,6 @@ The Identity Experience Framework renders only the first letter of the email add
157
157
158
158

159
159
160
-
161
160
### Restriction
162
161
163
162
The **Restriction** element may contain the following attribute:
@@ -185,7 +184,7 @@ The **Enumeration** element contains the following attributes:
185
184
|Value | Yes | The claim value that is associated with selecting this option. |
186
185
| SelectByDefault | No | Indicates whether or not this option should be selected by default in the UI. Possible values: True or False. |
187
186
188
-
The following example configures a **city** dropdown list claim with a default value set to `New York`:
187
+
The following example configures a **city** dropdown list claim with a default value set to `New York`. For more samples, check out the [Claim restriction enumeration live demo](https://github.com/azure-ad-b2c/unit-tests/tree/main/claims#restriction-enumeration).
189
188
190
189
```xml
191
190
<ClaimTypeId="city">
@@ -390,7 +389,6 @@ The **Readonly** user input type is used to provide a readonly field to display
390
389
</ClaimType>
391
390
```
392
391
393
-
394
392
#### Paragraph
395
393
396
394
The **Paragraph** user input type is used to provide a field that shows text only in a paragraph tag. For example, <p>text</p>. A **Paragraph** user input type `OutputClaim` of self-asserted technical profile, must set the `Required` attribute `false` (default).
@@ -404,10 +402,5 @@ The **Paragraph** user input type is used to provide a field that shows text onl
404
402
<AdminHelpText>A claim responsible for holding response messages to send to the relying party</AdminHelpText>
405
403
<UserHelpText>A claim responsible for holding response messages to send to the relying party</UserHelpText>
406
404
<UserInputType>Paragraph</UserInputType>
407
-
<Restriction>
408
-
<EnumerationText="B2C_V1_90001"Value="You cannot sign in because you are a minor" />
409
-
<EnumerationText="B2C_V1_90002"Value="This action can only be performed by gold members" />
410
-
<EnumerationText="B2C_V1_90003"Value="You have not been enabled for this operation" />
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/localization.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ manager: CelesteDG
7
7
ms.service: active-directory
8
8
ms.workload: identity
9
9
ms.topic: reference
10
-
ms.date: 01/21/2022
10
+
ms.date: 03/06/2022
11
11
ms.author: kengaderdus
12
12
ms.subservice: B2C
13
13
ms.custom: "b2c-support"
@@ -110,24 +110,26 @@ The **Item** element contains the following attributes:
110
110
| Value | Yes | The string claim value associated with selecting this option. |
111
111
| SelectByDefault | No | Indicates whether or not this option should be selected by default in the UI. Possible values: True or False. |
112
112
113
-
The following example shows the use of the **LocalizedCollections** element. It contains two **LocalizedCollection** elements, one for English and another one for Spanish. Both set the **Restriction** collection of the claim `Gender` with a list of items for English and Spanish.
113
+
The following example shows the use of the **LocalizedCollections** element. It contains two **LocalizedCollection** elements, one for English and another one for Spanish. Both set the **Restriction** collection of the claim `Gender` with a list of items for English and Spanish. For more samples, check out the [Claim restriction enumeration live demo](https://github.com/azure-ad-b2c/unit-tests/tree/main/claims#restriction-enumeration).
0 commit comments