Create include for duplicated note text

pull/4387/head
Scott Addie 2017-09-25 13:45:31 -05:00
parent 2d56e61a6f
commit 2f59c7a2e9
5 changed files with 5 additions and 4 deletions

View File

@ -85,7 +85,7 @@ services.AddAuthentication().AddFacebook(facebookOptions =>
});
```
**Note:** The call to `AddIdentity` configures the default scheme settings. The `AddAuthentication(string defaultScheme)` overload sets the `DefaultScheme` property; and, the `AddAuthentication(Action<AuthenticationOptions> configureOptions)` overload sets only the properties you explicitly set. Either of these overloads should only be called once when adding multiple authentication providers. Subsequent calls to it have the potential of overriding any previously configured [AuthenticationOptions](https://docs.microsoft.com/aspnet/core/api/microsoft.aspnetcore.builder.authenticationoptions) properties.
[!INCLUDE[default settings configuration](includes/default-settings.md)]
# [ASP.NET Core 1.x](#tab/aspnetcore1x)

View File

@ -107,7 +107,7 @@ services.AddAuthentication().AddGoogle(googleOptions =>
});
```
**Note:** The call to `AddIdentity` configures the default scheme settings. The `AddAuthentication(string defaultScheme)` overload sets the `DefaultScheme` property; and, the `AddAuthentication(Action<AuthenticationOptions> configureOptions)` overload sets only the properties you explicitly set. Either of these overloads should only be called once when adding multiple authentication providers. Subsequent calls to it have the potential of overriding any previously configured [AuthenticationOptions](https://docs.microsoft.com/aspnet/core/api/microsoft.aspnetcore.builder.authenticationoptions) properties.
[!INCLUDE[default settings configuration](includes/default-settings.md)]
# [ASP.NET Core 1.x](#tab/aspnetcore1x)

View File

@ -0,0 +1 @@
**Note:** The call to `AddIdentity` configures the default scheme settings. The `AddAuthentication(string defaultScheme)` overload sets the `DefaultScheme` property; and, the `AddAuthentication(Action<AuthenticationOptions> configureOptions)` overload sets only the properties you explicitly set. Either of these overloads should only be called once when adding multiple authentication providers. Subsequent calls to it have the potential of overriding any previously configured [AuthenticationOptions](https://docs.microsoft.com/aspnet/core/api/microsoft.aspnetcore.builder.authenticationoptions) properties.

View File

@ -89,7 +89,7 @@ services.AddAuthentication().AddMicrosoftAccount(microsoftOptions =>
});
```
The call to `AddIdentity` configures the default scheme settings. The `AddAuthentication(string defaultScheme)` overload sets the `DefaultScheme` property; and, the `AddAuthentication(Action<AuthenticationOptions> configureOptions)` overload sets only the properties you explicitly set. Either of these overloads should only be called once when adding multiple authentication providers. Subsequent calls to it have the potential of overriding any previously configured [AuthenticationOptions](https://docs.microsoft.com/aspnet/core/api/microsoft.aspnetcore.builder.authenticationoptions) properties.
[!INCLUDE[default settings configuration](includes/default-settings.md)]
# [ASP.NET Core 1.x](#tab/aspnetcore1x)

View File

@ -71,7 +71,7 @@ services.AddAuthentication().AddTwitter(twitterOptions =>
});
```
**Note:** The call to `AddIdentity` configures the default scheme settings. The `AddAuthentication(string defaultScheme)` overload sets the `DefaultScheme` property; and, the `AddAuthentication(Action<AuthenticationOptions> configureOptions)` overload sets only the properties you explicitly set. Either of these overloads should only be called once when adding multiple authentication providers. Subsequent calls to it have the potential of overriding any previously configured [AuthenticationOptions](https://docs.microsoft.com/aspnet/core/api/microsoft.aspnetcore.builder.authenticationoptions) properties.
[!INCLUDE[default settings configuration](includes/default-settings.md)]
# [ASP.NET Core 1.x](#tab/aspnetcore1x)