Update obsolete error (#1346)
This commit is contained in:
parent
4fec8c11c2
commit
d797543cfc
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class CookieAppBuilderExtensions
|
public static class CookieAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="CookieAuthenticationOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="CookieAuthenticationOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseCookieAuthentication is obsolete. Configure Cookie authentication with AddAuthentication().AddCookie in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app, CookieAuthenticationOptions options)
|
public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app, CookieAuthenticationOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class FacebookAppBuilderExtensions
|
public static class FacebookAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="FacebookOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="FacebookOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseFacebookAuthentication is obsolete. Configure Facebook authentication with AddAuthentication().AddFacebook in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app, FacebookOptions options)
|
public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app, FacebookOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.Authentication.Google;
|
using Microsoft.AspNetCore.Authentication.Google;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using Microsoft.Extensions.Options;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Builder
|
namespace Microsoft.AspNetCore.Builder
|
||||||
{
|
{
|
||||||
|
|
@ -14,21 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class GoogleAppBuilderExtensions
|
public static class GoogleAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
|
[Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="GoogleOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="GoogleOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
|
[Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app, GoogleOptions options)
|
public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app, GoogleOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class JwtBearerAppBuilderExtensions
|
public static class JwtBearerAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseJwtBearerAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseJwtBearerAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="JwtBearerOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="JwtBearerOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseJwtBearerAuthentication is obsolete. Configure JwtBearer authentication with AddAuthentication().AddJwtBearer in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseJwtBearerAuthentication(this IApplicationBuilder app, JwtBearerOptions options)
|
public static IApplicationBuilder UseJwtBearerAuthentication(this IApplicationBuilder app, JwtBearerOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class MicrosoftAccountAppBuilderExtensions
|
public static class MicrosoftAccountAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseMicrosoftAccountAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseMicrosoftAccountAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="MicrosoftAccountOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="MicrosoftAccountOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseMicrosoftAccountAuthentication(this IApplicationBuilder app, MicrosoftAccountOptions options)
|
public static IApplicationBuilder UseMicrosoftAccountAuthentication(this IApplicationBuilder app, MicrosoftAccountOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class OAuthAppBuilderExtensions
|
public static class OAuthAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseOAuthAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseOAuthAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="OAuthOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="OAuthOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseOAuthAuthentication is obsolete. Configure OAuth authentication with AddAuthentication().AddOAuth in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseOAuthAuthentication(this IApplicationBuilder app, OAuthOptions options)
|
public static IApplicationBuilder UseOAuthAuthentication(this IApplicationBuilder app, OAuthOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class OpenIdConnectAppBuilderExtensions
|
public static class OpenIdConnectAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">A <see cref="OpenIdConnectOptions"/> that specifies options for the handler.</param>
|
/// <param name="options">A <see cref="OpenIdConnectOptions"/> that specifies options for the handler.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseOpenIdConnectAuthentication is obsolete. Configure OpenIdConnect authentication with AddAuthentication().AddOpenIdConnect in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app, OpenIdConnectOptions options)
|
public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app, OpenIdConnectOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
|
|
@ -12,23 +12,23 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
public static class TwitterAppBuilderExtensions
|
public static class TwitterAppBuilderExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app)
|
public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Obsolete, see https://go.microsoft.com/fwlink/?linkid=845470
|
/// UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
/// <param name="app">The <see cref="IApplicationBuilder"/> to add the handler to.</param>
|
||||||
/// <param name="options">An action delegate to configure the provided <see cref="TwitterOptions"/>.</param>
|
/// <param name="options">An action delegate to configure the provided <see cref="TwitterOptions"/>.</param>
|
||||||
/// <returns>A reference to this instance after the operation has completed.</returns>
|
/// <returns>A reference to this instance after the operation has completed.</returns>
|
||||||
[Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", error: true)]
|
[Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", error: true)]
|
||||||
public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app, TwitterOptions options)
|
public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app, TwitterOptions options)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue