Emby Emby Emby BetaDev
  • Emby Home
  • 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

    ForgetAttestedSession(String)

    Declaration
    void ForgetAttestedSession(string authenticationToken)
    Parameters
    Type Name Description
    System.String authenticationToken

    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>

    HandleAttestationAsync(ISessionInfo, String, String, AttestationReply, CancellationToken)

    Declaration
    Task<Dictionary<string, string>> HandleAttestationAsync(ISessionInfo session, string authenticationToken, string attestationProvider, AttestationReply attestationReply, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ISessionInfo session
    System.String authenticationToken
    System.String attestationProvider
    AttestationReply attestationReply
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String, System.String>>

    HasAttestedPlaybackGrant(ISessionInfo, String)

    Declaration
    bool HasAttestedPlaybackGrant(ISessionInfo sessionInfo, string authenticationToken)
    Parameters
    Type Name Description
    ISessionInfo sessionInfo
    System.String authenticationToken
    Returns
    Type Description
    System.Boolean

    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

    ValidateDevice(ISessionInfo, CancellationToken)

    Declaration
    Task<bool> ValidateDevice(ISessionInfo sessionInfo, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    ISessionInfo sessionInfo
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    Extension Methods

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