using AIStudio.Tools.ERIClient.DataModel; namespace AIStudio.Tools.Services; /// /// What the server of an ERI data source answered to the check of its security requirements. /// /// Whether the server answered and the sign-in succeeded. /// What the server requires, or null when it could not be reached. internal readonly record struct ERISecurityCheckResult(bool IsReachable, SecurityRequirements? Requirements) { /// /// The server could not be reached, or it refused the sign-in. /// public static readonly ERISecurityCheckResult UNREACHABLE = new(false, null); }