Added controller in server for fetching public Web API settings and implemented changes in client to use said settings. Used scaffolder to generate source code for authentication pages. Added and customized authentication buttons in client.
13 lines
419 B
C#
13 lines
419 B
C#
using System.Collections.Generic;
|
|
|
|
namespace MultiShop.Server.Options
|
|
{
|
|
//https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-5.0#bind-hierarchical-configuration-data-using-the-options-pattern
|
|
public class ShopOptions
|
|
{
|
|
public const string Shop = "Shops";
|
|
public string Directory { get; set; }
|
|
public IList<string> Disabled { get; set; }
|
|
}
|
|
|
|
} |