#nullable enable
namespace API.DTOs.Settings;
/**
* The part of the OIDC configuration that is returned by the API without authentication
*/
public record OidcPublicConfigDto
{
///
/// 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";
public bool Enabled { get; set; } = false;
}