Create include for duplicated note text
parent
2d56e61a6f
commit
2f59c7a2e9
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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.
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue