You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.9 KiB
93 lines
2.9 KiB
1 year ago
|
namespace MediaBrowser.Common.Api;
|
||
2 years ago
|
|
||
|
/// <summary>
|
||
|
/// Policies for the API authorization.
|
||
|
/// </summary>
|
||
|
public static class Policies
|
||
5 years ago
|
{
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring first time setup or elevated privileges.
|
||
|
/// </summary>
|
||
|
public const string FirstTimeSetupOrElevated = "FirstTimeSetupOrElevated";
|
||
5 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring elevated privileges.
|
||
|
/// </summary>
|
||
|
public const string RequiresElevation = "RequiresElevation";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for allowing local access only.
|
||
|
/// </summary>
|
||
|
public const string LocalAccessOnly = "LocalAccessOnly";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for escaping schedule controls.
|
||
|
/// </summary>
|
||
|
public const string IgnoreParentalControl = "IgnoreParentalControl";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring download permission.
|
||
|
/// </summary>
|
||
|
public const string Download = "Download";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring first time setup or default permissions.
|
||
|
/// </summary>
|
||
|
public const string FirstTimeSetupOrDefault = "FirstTimeSetupOrDefault";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring local access or elevated privileges.
|
||
|
/// </summary>
|
||
|
public const string LocalAccessOrRequiresElevation = "LocalAccessOrRequiresElevation";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for requiring (anonymous) LAN access.
|
||
|
/// </summary>
|
||
|
public const string AnonymousLanAccessPolicy = "AnonymousLanAccessPolicy";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for escaping schedule controls or requiring first time setup.
|
||
|
/// </summary>
|
||
|
public const string FirstTimeSetupOrIgnoreParentalControl = "FirstTimeSetupOrIgnoreParentalControl";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for accessing SyncPlay.
|
||
|
/// </summary>
|
||
|
public const string SyncPlayHasAccess = "SyncPlayHasAccess";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for creating a SyncPlay group.
|
||
|
/// </summary>
|
||
|
public const string SyncPlayCreateGroup = "SyncPlayCreateGroup";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for joining a SyncPlay group.
|
||
|
/// </summary>
|
||
|
public const string SyncPlayJoinGroup = "SyncPlayJoinGroup";
|
||
4 years ago
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// Policy name for accessing a SyncPlay group.
|
||
|
/// </summary>
|
||
|
public const string SyncPlayIsInGroup = "SyncPlayIsInGroup";
|
||
2 years ago
|
|
||
|
/// <summary>
|
||
|
/// Policy name for accessing collection management.
|
||
|
/// </summary>
|
||
|
public const string CollectionManagement = "CollectionManagement";
|
||
2 years ago
|
|
||
|
/// <summary>
|
||
|
/// Policy name for accessing LiveTV.
|
||
|
/// </summary>
|
||
|
public const string LiveTvAccess = "LiveTvAccess";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Policy name for managing LiveTV.
|
||
|
/// </summary>
|
||
|
public const string LiveTvManagement = "LiveTvManagement";
|
||
1 year ago
|
|
||
|
/// <summary>
|
||
|
/// Policy name for accessing subtitles management.
|
||
|
/// </summary>
|
||
|
public const string SubtitleManagement = "SubtitleManagement";
|
||
5 years ago
|
}
|