WARN BROCKEN
This commit is contained in:
parent
0936afb9ad
commit
7b9d4b279a
5 changed files with 25 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue