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/b2clogin.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ There are several modifications you might need to make to migrate your applicati
42
42
43
43
* Change the redirect URL in your identity provider's applications to reference *b2clogin.com*.
44
44
* Update your Azure AD B2C applications to use *b2clogin.com* in their user flow and token endpoint references.
45
-
* Update any **Allowed Origins** that you've defined in the CORS settings for [user interface customization](custom-policy-ui-customization-dynamic.md).
45
+
* Update any **Allowed Origins** that you've defined in the CORS settings for [user interface customization](custom-policy-ui-customization.md).
46
46
47
47
## Change identity provider redirect URLs
48
48
@@ -117,4 +117,4 @@ For migrating Azure API Management APIs protected by Azure AD B2C, see the [Migr
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/claim-resolver-overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ Using claim resolvers, you can prepopulate the sign-in name or direct sign-in to
156
156
157
157
### Dynamic UI customization
158
158
159
-
Azure AD B2C enables you to pass query string parameters to your HTML content definition endpoints to dynamically render the page content. For example, this allows the ability to modify the background image on the Azure AD B2C sign-up or sign-in page based on a custom parameter that you pass from your web or mobile application. For more information, see [Dynamically configure the UI by using custom policies in Azure Active Directory B2C](custom-policy-ui-customization-dynamic.md). You can also localize your HTML page based on a language parameter, or you can change the content based on the client ID.
159
+
Azure AD B2C enables you to pass query string parameters to your HTML content definition endpoints to dynamically render the page content. For example, this allows the ability to modify the background image on the Azure AD B2C sign-up or sign-in page based on a custom parameter that you pass from your web or mobile application. For more information, see [Dynamically configure the UI by using custom policies in Azure Active Directory B2C](custom-policy-ui-customization.md). You can also localize your HTML page based on a language parameter, or you can change the content based on the client ID.
160
160
161
161
The following example passes in the query string parameter named **campaignId** with a value of `hawaii`, a **language** code of `en-US`, and **app** representing the client ID:
162
162
@@ -228,4 +228,4 @@ In a [Relying party](relyingparty.md) policy technical profile, you may want to
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/claimsschema.md
+48-15Lines changed: 48 additions & 15 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/12/2020
11
+
ms.date: 02/17/2020
12
12
ms.author: marsma
13
13
ms.subservice: B2C
14
14
---
@@ -47,14 +47,32 @@ The **ClaimType** element contains the following elements:
47
47
| Element | Occurrences | Description |
48
48
| ------- | ----------- | ----------- |
49
49
| DisplayName | 1:1 | The title that's displayed to users on various screens. The value can be [localized](localization.md). |
50
-
| DataType | 1:1 | The type of the claim. The data types of boolean, date, dateTime, int, long, string, stringCollection and phoneNumber can be used. Primitive data type represents the equivalent of C# variable data type. stringCollection represents a collection of strings. For more information see [C# Types and variables](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/types-and-variables). Date follows ISO 8601 convention. |
50
+
| DataType | 1:1 | The type of the claim. |
51
51
| DefaultPartnerClaimTypes | 0:1 | The partner default claim types to use for a specified protocol. The value can be overwritten in the **PartnerClaimType** specified in the **InputClaim** or **OutputClaim** elements. Use this element to specify the default name for a protocol. |
52
52
| Mask | 0:1 | An optional string of masking characters that can be applied when displaying the claim. For example, the phone number 324-232-4343 can be masked as XXX-XXX-4343. |
53
53
| UserHelpText | 0:1 | A description of the claim type that can be helpful for users to understand its purpose. The value can be [localized](localization.md). |
54
54
| UserInputType | 0:1 | The type of input control that should be available to the user when manually entering the claim data for the claim type. See the user input types defined later in this page. |
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
59
+
60
+
The **DataType** element supports the following values:
61
+
62
+
| Type | Description |
63
+
| ------- | ----------- |
64
+
|boolean|Represents a Boolean (`true` or `false`) value.|
65
+
|date| Represents an instant in time, typically expressed as a date of a day. The value of the date follows ISO 8601 convention.|
66
+
|dateTime|Represents an instant in time, typically expressed as a date and time of day. The value of the date follows ISO 8601 convention.|
67
+
|duration|Represents a time interval in years, months, days, hours, minutes, and seconds. The format of is `PnYnMnDTnHnMnS`, where `P` indicates positive, or `N` for negative value. `nY` is the number of years followed by a literal `Y`. `nMo` is the number of months followed by a literal `Mo`. `nD` is the number of days followed by a literal `D`. Examples: `P21Y` represents 21 years. `P1Y2Mo` represents one year, and two months. `P1Y2Mo5D` represents one year, two months, and five days. `P1Y2M5DT8H5M620S` represents one year, two months, five days, eight hours, five minutes, and twenty seconds. |
68
+
|phoneNumber|Represents a phone number. |
69
+
|int| Represents number between -2,147,483,648 and 2,147,483,647|
70
+
|long| Represents number between -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
71
+
|string| Represents text as a sequence of UTF-16 code units.|
72
+
|stringCollection|Represents a collection of `string`.|
73
+
|userIdentity| Represents a user identity.|
74
+
|userIdentityCollection|Represents a collection of `userIdentity`.|
75
+
58
76
### DefaultPartnerClaimTypes
59
77
60
78
The **DefaultPartnerClaimTypes** may contain the following element:
@@ -151,7 +169,7 @@ The **Restriction** element contains the following elements:
151
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. |
152
170
| Pattern | 1:1 | The regular expression to use. |
153
171
154
-
### Enumeration
172
+
####Enumeration
155
173
156
174
The **Enumeration** element contains the following attributes:
157
175
@@ -210,11 +228,26 @@ The Identity Experience Framework renders the email address claim with email for
210
228
211
229

212
230
213
-
## UserInputType
231
+
### UserInputType
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).
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. |
240
+
|DateTimeDropdown |`date`, `dateTime`|Drop-downs to select a day, month, and year. |
241
+
|DropdownSingleSelect |`string`|Single select drop-down box. The claim value is the selected value.|
242
+
|EmailBox |`string`|Email input field. |
243
+
|Paragraph |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`|A field that shows text only in a paragraph tag. |
244
+
|Password |`string`|Password text box.|
245
+
|RadioSingleSelect |`string`| Collection of radio buttons. The claim value is the selected value.|
246
+
|Readonly |`boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`| Read only text box. |
247
+
|TextBox |`boolean`, `int`, `string`|Single-line text box. |
214
248
215
-
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).
216
249
217
-
### TextBox
250
+
####TextBox
218
251
219
252
The **TextBox** user input type is used to provide a single-line text box.
220
253
@@ -229,7 +262,7 @@ The **TextBox** user input type is used to provide a single-line text box.
229
262
</ClaimType>
230
263
```
231
264
232
-
### EmailBox
265
+
####EmailBox
233
266
234
267
The **EmailBox** user input type is used to provide a basic email input field.
235
268
@@ -247,7 +280,7 @@ The **EmailBox** user input type is used to provide a basic email input field.
247
280
</ClaimType>
248
281
```
249
282
250
-
### Password
283
+
####Password
251
284
252
285
The **Password** user input type is used to record a password entered by the user.
253
286
@@ -262,7 +295,7 @@ The **Password** user input type is used to record a password entered by the use
262
295
</ClaimType>
263
296
```
264
297
265
-
### DateTimeDropdown
298
+
####DateTimeDropdown
266
299
267
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).
268
301
@@ -277,7 +310,7 @@ The **DateTimeDropdown** user input type is used to provide a set of drop-downs
277
310
</ClaimType>
278
311
```
279
312
280
-
### RadioSingleSelect
313
+
####RadioSingleSelect
281
314
282
315
The **RadioSingleSelect** user input type is used to provide a collection of radio buttons that allows the user to select one option.
283
316
@@ -296,7 +329,7 @@ The **RadioSingleSelect** user input type is used to provide a collection of rad
296
329
</ClaimType>
297
330
```
298
331
299
-
### DropdownSingleSelect
332
+
####DropdownSingleSelect
300
333
301
334
The **DropdownSingleSelect** user input type is used to provide a drop-down box that allows the user to select one option.
302
335
@@ -315,7 +348,7 @@ The **DropdownSingleSelect** user input type is used to provide a drop-down box
315
348
</ClaimType>
316
349
```
317
350
318
-
### CheckboxMultiSelect
351
+
####CheckboxMultiSelect
319
352
320
353
The **CheckboxMultiSelect** user input type is used to provide a collection of checkboxes that allows the user to select multiple options.
321
354
@@ -334,7 +367,7 @@ The **CheckboxMultiSelect** user input type is used to provide a collection of c
334
367
</ClaimType>
335
368
```
336
369
337
-
### Readonly
370
+
####Readonly
338
371
339
372
The **Readonly** user input type is used to provide a readonly field to display the claim and value.
340
373
@@ -350,9 +383,9 @@ The **Readonly** user input type is used to provide a readonly field to display
350
383
```
351
384
352
385
353
-
### Paragraph
386
+
####Paragraph
354
387
355
-
The **Paragraph** user input type is used to provide a field that shows text only in a paragraph tag. For example, <p>text</p>.
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).
356
389
357
390

Copy file name to clipboardExpand all lines: articles/active-directory-b2c/contentdefinitions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: celestedg
9
9
ms.service: active-directory
10
10
ms.workload: identity
11
11
ms.topic: reference
12
-
ms.date: 02/11/2020
12
+
ms.date: 02/16/2020
13
13
ms.author: marsma
14
14
ms.subservice: B2C
15
15
---
@@ -78,7 +78,7 @@ The **DataUri** element is used to specify the page identifier. Azure AD B2C use
78
78
| Page identifier | Description |
79
79
| ----- | ----------- |
80
80
|`globalexception`| Displays an error page when an exception or an error is encountered. |
81
-
|`providerselection`| Lists the identity providers that users can choose from during sign-in. |
81
+
|`providerselection`, `idpselection`| Lists the identity providers that users can choose from during sign-in.|
82
82
|`unifiedssp`| Displays a form for signing in with a local account that's based on an email address or a user name. This value also provides the “keep me sign-in functionality” and “Forgot your password?” link. |
83
83
|`unifiedssd`| Displays a form for signing in with a local account that's based on an email address or a user name. |
84
84
|`multifactor`| Verifies phone numbers by using text or voice during sign-up or sign-in. |
0 commit comments