AI-Studio/app/MindWork AI Studio/Settings/IERIDataSource.cs
2025-02-09 12:36:37 +01:00

26 lines
670 B
C#

using AIStudio.Tools.ERIClient.DataModel;
namespace AIStudio.Settings;
public interface IERIDataSource : IExternalDataSource
{
/// <summary>
/// The hostname of the ERI server.
/// </summary>
public string Hostname { get; init; }
/// <summary>
/// The port of the ERI server.
/// </summary>
public int Port { get; init; }
/// <summary>
/// The authentication method to use.
/// </summary>
public AuthMethod AuthMethod { get; init; }
/// <summary>
/// The username to use for authentication, when the auth. method is USERNAME_PASSWORD.
/// </summary>
public string Username { get; init; }
}