namespace AIStudio.Tools.Validation; /// /// What keeps an API key from being sent, as far as its characters tell. /// public enum APIKeyIssueKind { NONE, /// /// A space, a tab, or a line break inside the key. /// /// /// No provider issues keys with whitespace, so the user most likely copied more than the key, /// e.g., two lines of a table or the key together with its name. /// WHITESPACE, /// /// A character nobody sees, e.g., a zero-width space, a byte order mark, or a control character. /// /// /// Web pages and documents add such characters to what they show, and they come along when the /// user copies the key from there. /// INVISIBLE_CHARACTER, /// /// A visible character outside of ASCII, e.g., an umlaut or a typographic quotation mark. /// NON_ASCII_CHARACTER, }