You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated Authentication property from HttpContext removed in ASP.NET Core
As part of dotnet/aspnetcore#6504 we've removed the deprecated Authentication property on HttpContext. The Authentication property has been deprecated since 2.0 and a migration guide was published to migrate code using this deprecated property to the new replacement APIs. In addition, we have also removed all of the remaining unused classes/apis related to the old 1.x authentication stack in dotnet/aspnetcore@d7a7c65.
Deprecated Authentication property from HttpContext removed in ASP.NET Core
As part of dotnet/aspnetcore#6504 we've removed the deprecated Authentication property on HttpContext. The Authentication property has been deprecated since 2.0 and a migration guide was published to migrate code using this deprecated property to the new replacement APIs. In addition, we have also removed all of the remaining unused classes/apis related to the old 1.x authentication stack in dotnet/aspnetcore@d7a7c65.
Please discuss this change on dotnet/aspnetcore#6533
Version introduced
3.0
Old behavior
These APIs were available since 1.0 and were deprecated in 2.0.
New behavior
These APIs have been removed in 3.0
Reason for change
The old 1.0 APIs have been replaced by extension methods in the Microsoft.AspNetCore.Authentication namespace. The new API is documented here.
Recommended action
The migration guide is available here.
Category
Affected APIs
HttpContext.Authentication
Issue metadata
The text was updated successfully, but these errors were encountered: