mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 05:48:47 +01:00
Add overload for existing plug-in support
This commit is contained in:
@@ -23,6 +23,15 @@ namespace MediaBrowser.Common.Security
|
||||
/// <value>The legacy key.</value>
|
||||
string LegacyKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the registration status. Overload to support existing plug-ins.
|
||||
/// </summary>
|
||||
/// <param name="feature">The feature.</param>
|
||||
/// <param name="mb2Equivalent">The MB2 equivalent.</param>
|
||||
/// <param name="version">The version of the feature</param>
|
||||
/// <returns>Task{MBRegistrationRecord}.</returns>
|
||||
Task<MBRegistrationRecord> GetRegistrationStatus(string feature, string mb2Equivalent = null);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the registration status.
|
||||
/// </summary>
|
||||
@@ -30,8 +39,7 @@ namespace MediaBrowser.Common.Security
|
||||
/// <param name="mb2Equivalent">The MB2 equivalent.</param>
|
||||
/// <param name="version">The version of the feature</param>
|
||||
/// <returns>Task{MBRegistrationRecord}.</returns>
|
||||
Task<MBRegistrationRecord> GetRegistrationStatus(string feature, string mb2Equivalent = null, string version = null);
|
||||
|
||||
Task<MBRegistrationRecord> GetRegistrationStatus(string feature, string mb2Equivalent, string version);
|
||||
/// <summary>
|
||||
/// Load all registration info for all entities that require registration
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user