using Ablera.Serdica.Common.Tools;
using Ablera.Serdica.Common.Tools.Models.Config;
using Ablera.Serdica.Authority.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ablera.Serdica.Authority.Services;

public class OidcJsonSettingsProvider : GenericJsonSettingsProvider<OidcServerSettings>
{
    public const string JsonFilePath = "oidc-settings.json";

    public OidcJsonSettingsProvider(
        ILogger<GenericJsonSettingsProvider<OidcServerSettings>>? logger,
        IOptions<JsonFileSettingsConfig> options)
        : base(logger, options, JsonFilePath, null)
    {
    }
}
