add API key authentication to Spotify admin endpoints

This commit is contained in:
2026-01-31 20:01:59 -05:00
parent 5251c7ef6d
commit 1afa68064e
3 changed files with 57 additions and 2 deletions

View File

@@ -174,6 +174,7 @@ if (backendType == BackendType.Jellyfin)
builder.Services.AddSingleton<JellyfinModelMapper>();
builder.Services.AddScoped<JellyfinProxyService>();
builder.Services.AddScoped<JellyfinAuthFilter>();
builder.Services.AddScoped<allstarr.Filters.ApiKeyAuthFilter>();
}
else
{