You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Services/ServicesStartup.cs

17 lines
455 B

2 years ago
using Connected.Annotations;
using Connected.Security.Authorization;
using Connected.Services.Authorization;
using Microsoft.Extensions.DependencyInjection;
[assembly: MicroService(MicroServiceType.Sys)]
namespace Connected.Services;
internal class ServicesStartup : Startup
{
protected override void OnConfigureServices(IServiceCollection services)
{
services.AddScoped(typeof(IAuthorizationContext), typeof(ServiceAuthorizationContext));
}
}