Replace UseIdentity() with UseAuthentication()

Proprietary

Replace app.UseIdentity() with app.UseAuthentication(). The UseIdentity method was removed in ASP.NET Core 2.0 in favor of UseAuthentication.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UseUseAuthentication
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UseUseAuthentication

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