net9.0
namespace Microsoft.AspNetCore.Authentication
{
    [Obsolete("This is obsolete and will be removed in a future version. Use Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")]
    public static class AzureADB2CAuthenticationBuilderExtensions
    {
        [Obsolete("This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.")]
        public static AuthenticationBuilder AddAzureADB2C(this AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, Action<AzureADB2COptions> configureOptions);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Assemblies

Microsoft.AspNetCore.Authentication.AzureADB2C.UI , Version=7.0.0.0, PublicKeyToken=adb9793829ddae60

Microsoft.AspNetCore.Authentication.AzureADB2C.UI , Version=6.0.35.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Authentication.AzureADB2C.UI.

Package Microsoft.AspNetCore.Authentication.AzureADB2C.UI (7.0.0-preview.6.22330.3) net7.0
Obsolete This is obsolete and will be removed in a future version. Use AddMicrosoftWebApiAuthentication from Microsoft.Identity.Web instead. See https://aka.ms/ms-identity-web.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

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