Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ISecurityManager

    Namespace: MediaBrowser.Common.Security
    Assembly: MediaBrowser.Common.dll
    Syntax
    public interface ISecurityManager

    Properties

    SupporterKey

    Gets or sets the supporter key.

    Declaration
    string SupporterKey { get; }
    Property Value
    Type Description
    System.String

    The supporter key.

    Methods

    GetRegistrationStatus(String, CancellationToken)

    Gets the registration status. Overload to support existing plug-ins.

    Declaration
    Task<MBRegistrationRecord> GetRegistrationStatus(string feature, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String feature
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<MBRegistrationRecord>

    IsFeatureAllowed(String, Boolean, CancellationToken)

    Declaration
    Task<bool> IsFeatureAllowed(string feature, bool isIndependantFeature, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String feature
    System.Boolean isIndependantFeature
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    IsFeatureAllowed(String, CancellationToken)

    Declaration
    Task<bool> IsFeatureAllowed(string feature, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String feature
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    IsSupporter(CancellationToken)

    Gets a value indicating whether this instance is MB supporter.

    Declaration
    Task<bool> IsSupporter(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    true if this instance is MB supporter; otherwise, false.

    RegisterAppStoreSale(String, Boolean)

    Register and app store sale with our back-end

    Declaration
    Task RegisterAppStoreSale(string parameters, bool updatePremiereKey)
    Parameters
    Type Name Description
    System.String parameters

    Json parameters to pass to admin server

    System.Boolean updatePremiereKey

    if set to true [update premiere key].

    Returns
    Type Description
    System.Threading.Tasks.Task

    UpdateSupporterKey(String)

    Declaration
    Task UpdateSupporterKey(string newValue)
    Parameters
    Type Name Description
    System.String newValue
    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.