using AIStudio.Provider; namespace AIStudio.Tools.UserAPIKeys; /// /// One provider of a configuration plugin which waits for the API key of the user. /// /// The name of the provider as the user knows it. /// Where the API key of the provider is stored. /// The secret store of the provider's kind, which also tells which models the provider offers. /// Creates the provider, e.g., to check a key. Called only on demand, since every provider brings an HTTP client of its own. public sealed record PendingUserAPIKeyTarget(string Name, ISecretId SecretId, SecretStoreType StoreType, Func CreateProvider);