change extension method name to reflect actual purpose

This commit is contained in:
sbwalker 2024-02-02 08:54:01 -05:00
parent 033c85fc4b
commit 71125f07cc
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ namespace Microsoft.Extensions.DependencyInjection
{
public static class OqtaneServiceCollectionExtensions
{
public static IServiceCollection AddOqtaneAuthorization(this IServiceCollection services)
public static IServiceCollection AddOqtaneAuthentication(this IServiceCollection services)
{
services.AddAuthorizationCore();
services.AddCascadingAuthenticationState();

View File

@ -41,7 +41,7 @@ namespace Oqtane.Client
builder.Services.AddLocalization(options => options.ResourcesPath = "Resources");
// register auth services
builder.Services.AddOqtaneAuthorization();
builder.Services.AddOqtaneAuthentication();
// register scoped core services
builder.Services.AddOqtaneScopedServices();