Files
VDownload/VDownload.Services/VDownload.Services.Authentication/AuthenticationConfiguration.cs

31 lines
647 B
C#
Raw Normal View History

2024-02-13 02:59:40 +01:00
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Services.Authentication
{
public class AuthenticationConfiguration
{
#region PROPERTIES
public string FilePath { get; private set; }
#endregion
#region CONSTRUCTORS
public AuthenticationConfiguration(IConfiguration configuration)
{
IConfigurationSection section = configuration.GetSection("authentication");
FilePath = section["file_path"];
}
#endregion
}
}