#nullable enable
using API.Entities.Enums;
namespace API.DTOs.Settings;
public record OidcPublicConfigDto
{
///
public string? Authority { get; set; }
///
public string? ClientId { get; set; }
///
/// Automatically redirect to the Oidc login screen
///
public bool AutoLogin { get; set; }
///
/// Disables password authentication for non-admin users
///
public bool DisablePasswordAuthentication { get; set; }
///
/// Name of your provider, used to display on the login screen
///
/// Default to OpenID Connect
public string ProviderName { get; set; } = "OpenID Connect";
}