netstandard2.1
namespace Microsoft.Extensions.DependencyInjection
{
    public static class AuthenticationServiceCollectionExtensions
    {
        [Obsolete("AddScheme is obsolete. Use AddAuthentication().AddScheme instead.")]
        public static IServiceCollection AddRemoteScheme<TOptions, THandler>(this IServiceCollection services, string authenticationScheme, string displayName, Action<TOptions> configureOptions)
            where TOptions, new(), RemoteAuthenticationOptions
            where THandler, RemoteAuthenticationHandler<TOptions>;
    }
}
Assembly Microsoft.AspNetCore.Authentication , Version=2.2.0.0, PublicKeyToken=adb9793829ddae60
Package Microsoft.AspNetCore.Authentication netstandard2.0
Obsolete AddScheme is obsolete. Use AddAuthentication().AddScheme instead.
Help Documentation
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Platform Restrictions

The selected framework does not have platform annotations.

  • Built-in API
  • Package-provided API

05/01/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙