using System.Text.Json.Serialization; namespace ModelContextProtocol.TestOAuthServer; /// /// Represents an OAuth error response. /// internal sealed class OAuthErrorResponse { /// /// Gets or sets the error code. /// [JsonPropertyName("error")] public required string Error { get; init; } /// /// Gets or sets the error description. /// [JsonPropertyName("error_description")] public required string ErrorDescription { get; init; } }