Udostępnij za pośrednictwem


ContentKeyPolicyTokenRestriction Class

Definition

Represents a token restriction. Provided token must match these requirements for successful license or key delivery.

[Newtonsoft.Json.JsonObject("#Microsoft.Media.ContentKeyPolicyTokenRestriction")]
public class ContentKeyPolicyTokenRestriction : Microsoft.Azure.Management.Media.Models.ContentKeyPolicyRestriction
[<Newtonsoft.Json.JsonObject("#Microsoft.Media.ContentKeyPolicyTokenRestriction")>]
type ContentKeyPolicyTokenRestriction = class
    inherit ContentKeyPolicyRestriction
Public Class ContentKeyPolicyTokenRestriction
Inherits ContentKeyPolicyRestriction
Inheritance
ContentKeyPolicyTokenRestriction
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

AlternateVerificationKeys

Gets or sets a list of alternative verification keys.

Audience

Gets or sets the audience for the token.

Issuer

Gets or sets the token issuer.

OpenIdConnectDiscoveryDocument

Gets or sets the OpenID connect discovery document.

PrimaryVerificationKey

Gets or sets the primary verification key.

RequiredClaims

Gets or sets a list of required token claims.

RestrictionTokenType

Gets or sets the type of token. Possible values include: 'Unknown', 'Swt', 'Jwt'

Methods

Validate()

Validate the object.

Applies to