diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-26 23:19:11 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-26 23:19:11 -0500 |
| commit | 511328edf9b91278d29d50f9446b9cc2ae69e6f7 (patch) | |
| tree | 6d47f1e732d669a891fef1407e8c12b68b9355b8 /MediaBrowser.Common/Security/ISecurityManager.cs | |
| parent | 3751e14eb1b7a0815b6ab7c2164c262e4723c52e (diff) | |
| parent | 4b2cf29fe1714e2bdef1d75d1b3aefb2f29ab4f6 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Common/Security/ISecurityManager.cs')
| -rw-r--r-- | MediaBrowser.Common/Security/ISecurityManager.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Security/ISecurityManager.cs b/MediaBrowser.Common/Security/ISecurityManager.cs new file mode 100644 index 000000000..bcda3c6b4 --- /dev/null +++ b/MediaBrowser.Common/Security/ISecurityManager.cs @@ -0,0 +1,34 @@ +using System.Threading.Tasks; +using Mediabrowser.Model.Entities; + +namespace MediaBrowser.Common.Security +{ + public interface ISecurityManager + { + /// <summary> + /// Gets a value indicating whether this instance is MB supporter. + /// </summary> + /// <value><c>true</c> if this instance is MB supporter; otherwise, <c>false</c>.</value> + bool IsMBSupporter { get; } + + /// <summary> + /// Gets or sets the supporter key. + /// </summary> + /// <value>The supporter key.</value> + string SupporterKey { get; set; } + + /// <summary> + /// Gets or sets the legacy key. + /// </summary> + /// <value>The legacy key.</value> + string LegacyKey { get; set; } + + /// <summary> + /// Gets the registration status. + /// </summary> + /// <param name="feature">The feature.</param> + /// <param name="mb2Equivalent">The MB2 equivalent.</param> + /// <returns>Task{MBRegistrationRecord}.</returns> + Task<MBRegistrationRecord> GetRegistrationStatus(string feature, string mb2Equivalent = null); + } +}
\ No newline at end of file |
