We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b3026f + 5e5484e commit b2a04eeCopy full SHA for b2a04ee
src/Nullinside.Api/Program.cs
@@ -8,6 +8,7 @@
8
using Nullinside.Api.Common;
9
using Nullinside.Api.Common.AspNetCore.Middleware;
10
using Nullinside.Api.Common.Docker;
11
+using Nullinside.Api.Common.Twitch;
12
using Nullinside.Api.Model;
13
14
using WebApplicationBuilder = Microsoft.AspNetCore.Builder.WebApplicationBuilder;
@@ -30,6 +31,7 @@
30
31
builder.EnableRetryOnFailure(3);
32
}));
33
builder.Services.AddScoped<IAuthorizationHandler, BasicAuthorizationHandler>();
34
+builder.Services.AddScoped<ITwitchApiProxy, TwitchApiProxy>();
35
builder.Services.AddAuthentication()
36
.AddScheme<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Bearer", _ => { });
37
builder.Services.AddScoped<IDockerProxy, DockerProxy>();
0 commit comments