25 lines
602 B
C#
25 lines
602 B
C#
namespace KronaStaffTerminal.Services;
|
|
|
|
public enum LicenseStatus
|
|
{
|
|
Unknown,
|
|
Active,
|
|
GracePeriod,
|
|
Expired,
|
|
Unavailable
|
|
}
|
|
|
|
public interface ILicenseStatusPort
|
|
{
|
|
LicenseStatus GetStatus();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Temporary standalone adapter returning Active for the pilot period.
|
|
/// Invariant: Standalone adapters are compatible, migratable, and disableable;
|
|
/// they do not become a second permanent source of truth (AGENTS.md #15).
|
|
/// </summary>
|
|
public sealed class StandaloneLicenseAdapter : ILicenseStatusPort
|
|
{
|
|
public LicenseStatus GetStatus() => LicenseStatus.Active;
|
|
}
|