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