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 escaping schedule controls or requiring first time setup.
///
public const string FirstTimeSetupOrIgnoreParentalControl = "FirstTimeSetupOrIgnoreParentalControl";
}
}