- Removed SAML configuration deployment calls from PostInstanceInitService. - Updated DeploySamlConfigurationAsync to improve template fetching logic from Git and local directories. - Added Authentik flow and keypair models for better representation in the UI. - Enhanced SettingsViewModel to include Authentik settings with save and test functionality. - Updated UI to support Authentik configuration, including dropdowns for flows and keypairs. - Changed default CMS server name template to "app.ots-signs.com" across various files. - Improved password handling in SshDockerCliService for secure shell command execution. - Added new template file for settings-custom.php in the project structure.
18 lines
580 B
C#
18 lines
580 B
C#
namespace OTSSignsOrchestrator.Core.Models.DTOs;
|
|
|
|
/// <summary>
|
|
/// Represents an Authentik flow for display in the Settings UI.
|
|
/// </summary>
|
|
public class AuthentikFlowItem
|
|
{
|
|
public string Pk { get; set; } = string.Empty;
|
|
public string Slug { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Designation { get; set; } = string.Empty;
|
|
|
|
/// <summary>Display text for ComboBox: "slug — Name".</summary>
|
|
public string DisplayText => $"{Slug} — {Name}";
|
|
|
|
public override string ToString() => DisplayText;
|
|
}
|