using System.Threading.Tasks;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Common.Security
{
public interface ISecurityManager
{
///
/// Gets a value indicating whether this instance is MB supporter.
///
/// true if this instance is MB supporter; otherwise, false.
bool IsMBSupporter { get; }
///
/// Gets or sets the supporter key.
///
/// The supporter key.
string SupporterKey { get; set; }
///
/// Gets or sets the legacy key.
///
/// The legacy key.
string LegacyKey { get; set; }
///
/// Gets the registration status.
///
/// The feature.
/// The MB2 equivalent.
/// The version of the feature
/// Task{MBRegistrationRecord}.
Task GetRegistrationStatus(string feature, string mb2Equivalent = null, string version = null);
///
/// Load all registration info for all entities that require registration
///
///
Task LoadAllRegistrationInfo();
}
}