change
This commit is contained in:
@@ -13,6 +13,7 @@ using TechHelper.Client.Services;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
|
||||
using TechHelper.Client.AI;
|
||||
using TechHelper.Client.Exam;
|
||||
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
@@ -30,6 +31,7 @@ builder.Services.AddAuthorizationCore();
|
||||
builder.Services.AddCascadingAuthenticationState();
|
||||
builder.Services.AddLocalStorageServices();
|
||||
builder.Services.AddScoped<IAuthenticationClientService, AuthenticationClientService>();
|
||||
builder.Services.AddScoped<IExamService, ExamService>();
|
||||
builder.Services.AddScoped<AuthenticationStateProvider, AuthStateProvider>();
|
||||
builder.Services.Configure<ApiConfiguration>(builder.Configuration.GetSection("ApiConfiguration"));
|
||||
builder.Services.AddScoped<RefreshTokenService>();
|
||||
|
Reference in New Issue
Block a user