Partager via


PlayReadyServerAuthorization Constructor

Definition

Initializes a new instance of the PlayReadyServerAuthorization class.

public PlayReadyServerAuthorization (Microsoft.Extensions.Options.IOptions<Microsoft.Media.Drm.Config.RMSDKConfig> options, Microsoft.Extensions.Logging.ILogger<Microsoft.Media.Drm.PlayReadyServerAuthorization> logger);
new Microsoft.Media.Drm.PlayReadyServerAuthorization : Microsoft.Extensions.Options.IOptions<Microsoft.Media.Drm.Config.RMSDKConfig> * Microsoft.Extensions.Logging.ILogger<Microsoft.Media.Drm.PlayReadyServerAuthorization> -> Microsoft.Media.Drm.PlayReadyServerAuthorization
Public Sub New (options As IOptions(Of RMSDKConfig), logger As ILogger(Of PlayReadyServerAuthorization))

Parameters

options
IOptions<RMSDKConfig>

The configuration options for this authorization. See RMSDKConfig.

logger
ILogger<PlayReadyServerAuthorization>

The logger to be used for this authorization.

Applies to