Find HttpContext.Authentication usage (removed in ASP.NET Core 3.0)

Proprietary

Finds usages of HttpContext.Authentication which was removed in ASP.NET Core 3.0. Use dependency injection to get IAuthenticationService instead.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindHttpContextAuthentication
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindHttpContextAuthentication

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.