netcoreapp2.2
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>;
    }
}
.NET Core 2.02.12.2
Information specific to netcoreapp2.2
Assembly

Microsoft.AspNetCore.Authentication , Version=2.2.0.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Obsolete AddScheme is obsolete. Use AddAuthentication().AddScheme instead.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

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