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
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ The **ClaimType** element contains the following elements:
55
55
| Restriction | 0:1 | The value restrictions for this claim, such as a regular expression (Regex) or a list of acceptable values. The value can be [localized](localization.md). |
56
56
PredicateValidationReference| 0:1 | A reference to a **PredicateValidationsInput** element. The **PredicateValidationReference** elements enable you to perform a validation process to ensure that only properly formed data is entered. For more information, see [Predicates](predicates.md). |
57
57
58
+
### DataType
58
59
59
60
The **DataType** element supports the following values:
60
61
@@ -168,7 +169,7 @@ The **Restriction** element contains the following elements:
168
169
| Enumeration | 1:n| The available options in the user interface for the user to select for a claim, such as a value in a dropdown. |
169
170
| Pattern | 1:1 | The regular expression to use. |
170
171
171
-
### Enumeration
172
+
####Enumeration
172
173
173
174
The **Enumeration** element contains the following attributes:
174
175
@@ -227,25 +228,26 @@ The Identity Experience Framework renders the email address claim with email for
227
228
228
229

229
230
230
-
## UserInputType
231
+
###UserInputType
231
232
232
233
Azure AD B2C supports a variety of user input types, such as a textbox, password, and dropdown list that can be used when manually entering claim data for the claim type. You must specify the **UserInputType** when you collect information from the user by using a [self-asserted technical profile](self-asserted-technical-profile.md) and [display controls](display-controls.md).
233
234
234
235
The **UserInputType** element available user input types:
|CheckboxMultiSelect|`string`|Multi select drop-down box. The claim value is represented in a comma delimiter string of the selected values. |
238
240
|DateTimeDropdown |`date`, `dateTime`|Drop-downs to select a day, month, and year. |
239
241
|DropdownSingleSelect |`string`|Single select drop-down box. The claim value is the selected value.|
240
242
|EmailBox |`string`|Email input field. |
241
-
|Paragraph |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`, `stringCollection`|A field that shows text only in a paragraph tag. |
243
+
|Paragraph |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`|A field that shows text only in a paragraph tag. |
242
244
|Password |`string`|Password text box.|
243
245
|RadioSingleSelect |`string`| Collection of radio buttons. The claim value is the selected value.|
244
-
|Readonly |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`, `stringCollection`| Read only text box. |
246
+
|Readonly |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`| Read only text box. |
245
247
|TextBox |`boolean`, `int`, `string`|Single-line text box. |
246
248
247
249
248
-
### TextBox
250
+
####TextBox
249
251
250
252
The **TextBox** user input type is used to provide a single-line text box.
251
253
@@ -260,7 +262,7 @@ The **TextBox** user input type is used to provide a single-line text box.
260
262
</ClaimType>
261
263
```
262
264
263
-
### EmailBox
265
+
####EmailBox
264
266
265
267
The **EmailBox** user input type is used to provide a basic email input field.
266
268
@@ -278,7 +280,7 @@ The **EmailBox** user input type is used to provide a basic email input field.
278
280
</ClaimType>
279
281
```
280
282
281
-
### Password
283
+
####Password
282
284
283
285
The **Password** user input type is used to record a password entered by the user.
284
286
@@ -293,7 +295,7 @@ The **Password** user input type is used to record a password entered by the use
293
295
</ClaimType>
294
296
```
295
297
296
-
### DateTimeDropdown
298
+
####DateTimeDropdown
297
299
298
300
The **DateTimeDropdown** user input type is used to provide a set of drop-downs to select a day, month, and year. You can use Predicates and PredicateValidations elements to control the minimum and maximum date values. For more information, see the **Configure a date range** section of [Predicates and PredicateValidations](predicates.md).
299
301
@@ -308,7 +310,7 @@ The **DateTimeDropdown** user input type is used to provide a set of drop-downs
308
310
</ClaimType>
309
311
```
310
312
311
-
### RadioSingleSelect
313
+
####RadioSingleSelect
312
314
313
315
The **RadioSingleSelect** user input type is used to provide a collection of radio buttons that allows the user to select one option.
314
316
@@ -327,7 +329,7 @@ The **RadioSingleSelect** user input type is used to provide a collection of rad
327
329
</ClaimType>
328
330
```
329
331
330
-
### DropdownSingleSelect
332
+
####DropdownSingleSelect
331
333
332
334
The **DropdownSingleSelect** user input type is used to provide a drop-down box that allows the user to select one option.
333
335
@@ -346,7 +348,7 @@ The **DropdownSingleSelect** user input type is used to provide a drop-down box
346
348
</ClaimType>
347
349
```
348
350
349
-
### CheckboxMultiSelect
351
+
####CheckboxMultiSelect
350
352
351
353
The **CheckboxMultiSelect** user input type is used to provide a collection of checkboxes that allows the user to select multiple options.
352
354
@@ -365,7 +367,7 @@ The **CheckboxMultiSelect** user input type is used to provide a collection of c
365
367
</ClaimType>
366
368
```
367
369
368
-
### Readonly
370
+
####Readonly
369
371
370
372
The **Readonly** user input type is used to provide a readonly field to display the claim and value.
371
373
@@ -381,7 +383,7 @@ The **Readonly** user input type is used to provide a readonly field to display
381
383
```
382
384
383
385
384
-
### Paragraph
386
+
####Paragraph
385
387
386
388
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).
0 commit comments