共用方式為


ContentKeyPolicyTokenRestriction Constructors

Definition

Overloads

ContentKeyPolicyTokenRestriction()

Initializes a new instance of the ContentKeyPolicyTokenRestriction class.

ContentKeyPolicyTokenRestriction(String, String, ContentKeyPolicyRestrictionTokenKey, ContentKeyPolicyRestrictionTokenType, IList<ContentKeyPolicyRestrictionTokenKey>, IList<ContentKeyPolicyTokenClaim>, String)

Initializes a new instance of the ContentKeyPolicyTokenRestriction class.

ContentKeyPolicyTokenRestriction()

Initializes a new instance of the ContentKeyPolicyTokenRestriction class.

public ContentKeyPolicyTokenRestriction ();
Public Sub New ()

Applies to

ContentKeyPolicyTokenRestriction(String, String, ContentKeyPolicyRestrictionTokenKey, ContentKeyPolicyRestrictionTokenType, IList<ContentKeyPolicyRestrictionTokenKey>, IList<ContentKeyPolicyTokenClaim>, String)

Initializes a new instance of the ContentKeyPolicyTokenRestriction class.

public ContentKeyPolicyTokenRestriction (string issuer, string audience, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey primaryVerificationKey, Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenType restrictionTokenType, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey> alternateVerificationKeys = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenClaim> requiredClaims = default, string openIdConnectDiscoveryDocument = default);
new Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenRestriction : string * string * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey * Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenType * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestrictionTokenKey> * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenClaim> * string -> Microsoft.Azure.Management.Media.Models.ContentKeyPolicyTokenRestriction
Public Sub New (issuer As String, audience As String, primaryVerificationKey As ContentKeyPolicyRestrictionTokenKey, restrictionTokenType As ContentKeyPolicyRestrictionTokenType, Optional alternateVerificationKeys As IList(Of ContentKeyPolicyRestrictionTokenKey) = Nothing, Optional requiredClaims As IList(Of ContentKeyPolicyTokenClaim) = Nothing, Optional openIdConnectDiscoveryDocument As String = Nothing)

Parameters

issuer
String

The token issuer.

audience
String

The audience for the token.

primaryVerificationKey
ContentKeyPolicyRestrictionTokenKey

The primary verification key.

restrictionTokenType
ContentKeyPolicyRestrictionTokenType

The type of token. Possible values include: 'Unknown', 'Swt', 'Jwt'

alternateVerificationKeys
IList<ContentKeyPolicyRestrictionTokenKey>

A list of alternative verification keys.

requiredClaims
IList<ContentKeyPolicyTokenClaim>

A list of required token claims.

openIdConnectDiscoveryDocument
String

The OpenID connect discovery document.

Applies to