Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
| 1234567891011 |
- namespace Diligent.WebAPI.Host.Extensions
- {
- public static class AuthConfigurationExtension
- {
- public static void ConfigureAuth(this WebApplicationBuilder builder)
- {
- builder.Services.Configure<AuthorizationSettings>(builder.Configuration.GetSection("Authorization"));
- builder.Services.Configure<ScreeningTestSettings>(builder.Configuration.GetSection("ScreeningTest"));
- builder.Services.AddScoped<IUserService, UserService>();
- }
- }}
|