mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 09:06:20 +02:00
23 lines
590 B
C#
23 lines
590 B
C#
namespace RemoteExec.Server.Configuration;
|
|
|
|
/// <summary>
|
|
/// Represents an individual API key configuration.
|
|
/// </summary>
|
|
public class ApiKeyConfiguration
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the API key value.
|
|
/// </summary>
|
|
public required string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets an optional description of the API key.
|
|
/// </summary>
|
|
public string? Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether this API key is enabled.
|
|
/// Default is true.
|
|
/// </summary>
|
|
public bool Enabled { get; set; } = true;
|
|
} |