using MediaBrowser.Model.Entities;
using System.Threading.Tasks;
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.
Task IsSupporter();
///
/// Gets or sets the supporter key.
///
/// The supporter key.
string SupporterKey { get; }
///
/// Gets the registration status. Overload to support existing plug-ins.
///
Task GetRegistrationStatus(string feature);
///
/// Register and app store sale with our back-end
///
/// Json parameters to pass to admin server
Task RegisterAppStoreSale(string parameters);
Task UpdateSupporterKey(string newValue);
}
}