Share via


ContentKeyPolicyTokenRestriction Class

Definition

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

public class ContentKeyPolicyTokenRestriction : Azure.ResourceManager.Media.Models.ContentKeyPolicyRestriction
type ContentKeyPolicyTokenRestriction = class
    inherit ContentKeyPolicyRestriction
Public Class ContentKeyPolicyTokenRestriction
Inherits ContentKeyPolicyRestriction
Inheritance
ContentKeyPolicyTokenRestriction

Constructors

ContentKeyPolicyTokenRestriction(String, String, ContentKeyPolicyRestrictionTokenKey, ContentKeyPolicyRestrictionTokenType)

Initializes a new instance of ContentKeyPolicyTokenRestriction.

Properties

AlternateVerificationKeys

A list of alternative verification keys. Please note ContentKeyPolicyRestrictionTokenKey is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContentKeyPolicyRsaTokenKey, ContentKeyPolicySymmetricTokenKey and ContentKeyPolicyX509CertificateTokenKey.

Audience

The audience for the token.

Issuer

The token issuer.

OpenIdConnectDiscoveryDocument

The OpenID connect discovery document.

PrimaryVerificationKey

The primary verification key. Please note ContentKeyPolicyRestrictionTokenKey is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContentKeyPolicyRsaTokenKey, ContentKeyPolicySymmetricTokenKey and ContentKeyPolicyX509CertificateTokenKey.

RequiredClaims

A list of required token claims.

RestrictionTokenType

The type of token.

Applies to