WARN BROCKEN

This commit is contained in:
Paul Schneider 2025-02-15 18:40:46 +00:00
commit 7b9d4b279a
5 changed files with 25 additions and 18 deletions

View file

@ -130,7 +130,6 @@ namespace cli
{
options.ResourcesPath = "Resources";
});
services.Configure<SharedAuthenticationOptions>(options =>
{
options.SignInScheme = "Bearer";
@ -138,7 +137,7 @@ namespace cli
services.AddTransient<Microsoft.Extensions.WebEncoders.UrlEncoder, UrlEncoder>();
services.AddAuthentication();
services.AddAuthentication("Bearer");
services.AddSingleton(typeof(IApplicationEnvironment), svs => PlatformServices.Default.Application);
services.AddSingleton(typeof(IRuntimeEnvironment), svs => PlatformServices.Default.Runtime);