2023-01-31 11:18:10 +00:00
|
|
|
|
namespace Jellyfin.Api.Constants;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Internal claim types for authorization.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class InternalClaimTypes
|
2020-06-15 18:49:54 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// User Id.
|
2020-06-15 18:49:54 +00:00
|
|
|
|
/// </summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
public const string UserId = "Jellyfin-UserId";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Device Id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string DeviceId = "Jellyfin-DeviceId";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Device.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Device = "Jellyfin-Device";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Client.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Client = "Jellyfin-Client";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Version.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Version = "Jellyfin-Version";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Token.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Token = "Jellyfin-Token";
|
2020-10-28 14:40:11 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Is Api Key.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string IsApiKey = "Jellyfin-IsApiKey";
|
2020-06-15 18:49:54 +00:00
|
|
|
|
}
|