jellyfin-server/Jellyfin.Api/Constants/InternalClaimTypes.cs

43 lines
911 B
C#
Raw Normal View History

2023-01-31 11:18:10 +00:00
namespace Jellyfin.Api.Constants;
/// <summary>
/// Internal claim types for authorization.
/// </summary>
public static class InternalClaimTypes
{
/// <summary>
2023-01-31 11:18:10 +00:00
/// User Id.
/// </summary>
2023-01-31 11:18:10 +00:00
public const string UserId = "Jellyfin-UserId";
2023-01-31 11:18:10 +00:00
/// <summary>
/// Device Id.
/// </summary>
public const string DeviceId = "Jellyfin-DeviceId";
2023-01-31 11:18:10 +00:00
/// <summary>
/// Device.
/// </summary>
public const string Device = "Jellyfin-Device";
2023-01-31 11:18:10 +00:00
/// <summary>
/// Client.
/// </summary>
public const string Client = "Jellyfin-Client";
2023-01-31 11:18:10 +00:00
/// <summary>
/// Version.
/// </summary>
public const string Version = "Jellyfin-Version";
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";
}