using Jellyfin.Api.Auth.DefaultAuthorizationPolicy;
using Jellyfin.Data.Enums;
namespace Jellyfin.Api.Auth.SyncPlayAccessPolicy
{
///
/// The default authorization requirement.
///
public class SyncPlayAccessRequirement : DefaultAuthorizationRequirement
{
///
/// Initializes a new instance of the class.
///
/// A value of .
public SyncPlayAccessRequirement(SyncPlayAccessRequirementType requiredAccess)
{
RequiredAccess = requiredAccess;
}
///
/// Gets the required SyncPlay access.
///
public SyncPlayAccessRequirementType RequiredAccess { get; }
}
}