DotBased/DotBased.ASP.Authentication/SecurityManager.cs
2024-12-01 03:13:55 +01:00

17 lines
584 B
C#

using DotBased.ASP.Authentication.Configuration;
using DotBased.Logging;
using Microsoft.Extensions.Options;
namespace DotBased.ASP.Authentication;
public class SecurityManager
{
public SecurityManager(IServiceProvider services, IOptions<AuthenticationConfiguration>? config)
{
_services = services;
Configuration = config?.Value ?? new AuthenticationConfiguration();
}
private ILogger _logger = LogService.RegisterLogger<SecurityManager>();
private IServiceProvider _services;
public AuthenticationConfiguration Configuration { get; set; }
}