Files
ScadaBridge/deprecated/lmxproxy/src/ZB.MOM.WW.LmxProxy.Host/Security/ApiKey.cs
T
Joseph Doherty 9dccf8e72f deprecate(lmxproxy): move all LmxProxy code, tests, and docs to deprecated/
LmxProxy is no longer needed. Moved the entire lmxproxy/ workspace, DCL
adapter files, and related docs to deprecated/. Removed LmxProxy registration
from DataConnectionFactory, project reference from DCL, protocol option from
UI, and cleaned up all requirement docs.
2026-04-08 15:56:23 -04:00

21 lines
654 B
C#

namespace ZB.MOM.WW.LmxProxy.Host.Security
{
/// <summary>An API key with description, role, and enabled state.</summary>
public class ApiKey
{
public string Key { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public ApiKeyRole Role { get; set; } = ApiKeyRole.ReadOnly;
public bool Enabled { get; set; } = true;
}
/// <summary>API key role for authorization.</summary>
public enum ApiKeyRole
{
/// <summary>Read and subscribe only.</summary>
ReadOnly,
/// <summary>Full access including writes.</summary>
ReadWrite
}
}