mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
namespace Jellyfin.Api.Constants
|
|
{
|
|
/// <summary>
|
|
/// Policies for the API authorization.
|
|
/// </summary>
|
|
public static class Policies
|
|
{
|
|
/// <summary>
|
|
/// Policy name for default authorization.
|
|
/// </summary>
|
|
public const string DefaultAuthorization = "DefaultAuthorization";
|
|
|
|
/// <summary>
|
|
/// Policy name for requiring first time setup or elevated privileges.
|
|
/// </summary>
|
|
public const string FirstTimeSetupOrElevated = "FirstTimeOrElevated";
|
|
|
|
/// <summary>
|
|
/// Policy name for requiring elevated privileges.
|
|
/// </summary>
|
|
public const string RequiresElevation = "RequiresElevation";
|
|
|
|
/// <summary>
|
|
/// Policy name for allowing local access only.
|
|
/// </summary>
|
|
public const string LocalAccessOnly = "LocalAccessOnly";
|
|
|
|
/// <summary>
|
|
/// Policy name for escaping schedule controls.
|
|
/// </summary>
|
|
public const string IgnoreSchedule = "IgnoreSchedule";
|
|
}
|
|
}
|