2025-02-09 11:36:37 +00:00
|
|
|
using AIStudio.Tools.ERIClient.DataModel;
|
2025-01-13 18:51:26 +00:00
|
|
|
|
|
|
|
namespace AIStudio.Settings;
|
|
|
|
|
|
|
|
public interface IERIDataSource : IExternalDataSource
|
|
|
|
{
|
2025-02-09 11:36:37 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The hostname of the ERI server.
|
|
|
|
/// </summary>
|
2025-01-13 18:51:26 +00:00
|
|
|
public string Hostname { get; init; }
|
|
|
|
|
2025-02-09 11:36:37 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The port of the ERI server.
|
|
|
|
/// </summary>
|
2025-01-13 18:51:26 +00:00
|
|
|
public int Port { get; init; }
|
|
|
|
|
2025-02-09 11:36:37 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The authentication method to use.
|
|
|
|
/// </summary>
|
2025-01-13 18:51:26 +00:00
|
|
|
public AuthMethod AuthMethod { get; init; }
|
2025-02-09 11:36:37 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The username to use for authentication, when the auth. method is USERNAME_PASSWORD.
|
|
|
|
/// </summary>
|
|
|
|
public string Username { get; init; }
|
2025-01-13 18:51:26 +00:00
|
|
|
}
|