using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.Keycloak { /// /// Response model for Keycloak errors. /// [DataContract] public class KeycloakErrorResponse { /// /// Gets or sets error code. /// [JsonPropertyName("error")] public string? Error { get; set; } /// /// Gets or sets error description. /// [JsonPropertyName("error_description")] public string? ErrorDescription { get; set; } } }