namespace AIStudio.Tools.UserAPIKeys; /// /// The result of storing the API key of the user for the providers of one configuration plugin. /// /// What the provider said about the key. A rejected key was not stored at all. /// The names of the providers for which the key could not be stored. public sealed record UserAPIKeyStoreResult(UserAPIKeyCheckOutcome Check, IReadOnlyList FailedProviderNames) { /// /// The result for a key which the provider refused, so that it was not stored. /// public static readonly UserAPIKeyStoreResult REJECTED = new(UserAPIKeyCheckOutcome.REJECTED, []); }