Merge pull request #3727 from sbwalker/dev

change extension method name to reflect actual purpose
This commit is contained in:
Shaun Walker
2024-02-02 08:54:16 -05:00
committed by GitHub
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();