props/src/MultiShop/Server/Options/ShopsOptions.cs
Harrison Deng ac13a6352b Exposed public Web API settings, and began customizing authentication related UI.
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.
2021-05-23 13:58:13 -05:00

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; }
}
}