using Jellyfin.Data.Enums;
using Microsoft.AspNetCore.Authorization;
namespace Jellyfin.Api.Auth.SyncPlayAccessPolicy
{
///
/// The default authorization requirement.
///
public class SyncPlayAccessRequirement : IAuthorizationRequirement
{
///
/// 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; }
}
}