namespace OTSSignsOrchestrator.Core.Models.DTOs;
///
/// Holds the IdP metadata extracted from an Authentik SAML provider,
/// used to render the settings-custom.php template.
///
public class AuthentikSamlConfig
{
/// IdP entity ID from SAML metadata (typically "authentik").
public string IdpEntityId { get; set; } = string.Empty;
/// Base64-encoded X.509 signing certificate (no BEGIN/END markers).
public string IdpX509Cert { get; set; } = string.Empty;
/// IdP Single Sign-On URL (HTTP-Redirect binding).
public string SsoUrlRedirect { get; set; } = string.Empty;
/// IdP Single Sign-On URL (HTTP-POST binding).
public string SsoUrlPost { get; set; } = string.Empty;
/// IdP Single Logout URL (HTTP-Redirect binding).
public string SloUrlRedirect { get; set; } = string.Empty;
/// IdP Single Logout URL (HTTP-POST binding).
public string SloUrlPost { get; set; } = string.Empty;
/// Authentik provider primary key (for audit/debugging).
public int ProviderId { get; set; }
/// Slug used in Authentik application URLs.
public string ApplicationSlug { get; set; } = string.Empty;
}