namespace Jellyfin.Api.Constants
{
///
/// Policies for the API authorization.
///
public static class Policies
{
///
/// Policy name for default authorization.
///
public const string DefaultAuthorization = "DefaultAuthorization";
///
/// Policy name for requiring first time setup or elevated privileges.
///
public const string FirstTimeSetupOrElevated = "FirstTimeSetupOrElevated";
///
/// Policy name for requiring elevated privileges.
///
public const string RequiresElevation = "RequiresElevation";
///
/// Policy name for allowing local access only.
///
public const string LocalAccessOnly = "LocalAccessOnly";
///
/// Policy name for escaping schedule controls.
///
public const string IgnoreParentalControl = "IgnoreParentalControl";
///
/// Policy name for requiring download permission.
///
public const string Download = "Download";
///
/// Policy name for requiring first time setup or default permissions.
///
public const string FirstTimeSetupOrDefault = "FirstTimeSetupOrDefault";
///
/// Policy name for requiring local access or elevated privileges.
///
public const string LocalAccessOrRequiresElevation = "LocalAccessOrRequiresElevation";
///
/// Policy name for requiring (anonymous) LAN access.
///
public const string AnonymousLanAccessPolicy = "AnonymousLanAccessPolicy";
///
/// Policy name for escaping schedule controls or requiring first time setup.
///
public const string FirstTimeSetupOrIgnoreParentalControl = "FirstTimeSetupOrIgnoreParentalControl";
///
/// Policy name for accessing SyncPlay.
///
public const string SyncPlayHasAccess = "SyncPlayHasAccess";
///
/// Policy name for creating a SyncPlay group.
///
public const string SyncPlayCreateGroup = "SyncPlayCreateGroup";
///
/// Policy name for joining a SyncPlay group.
///
public const string SyncPlayJoinGroup = "SyncPlayJoinGroup";
///
/// Policy name for accessing a SyncPlay group.
///
public const string SyncPlayIsInGroup = "SyncPlayIsInGroup";
}
}