ContentKeyPolicyTokenRestriction – Media API – MediaKind

ContentKeyPolicyTokenRestriction

An object that represents a token restriction. Provided token must match these requirements for successful license or key delivery.

Properties

Variants

Discriminated by @odata.type. Select one variant:

Microsoft.Media.ContentKeyPolicyRsaTokenKey

An object that specifies an RSA key for token validation.

Microsoft.Media.ContentKeyPolicySymmetricTokenKey

An object that specifies a symmetric key for token validation.

Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey

An object that specifies a certificate for token validation.

Variants

Discriminated by @odata.type. Select one variant:

Microsoft.Media.ContentKeyPolicyRsaTokenKey

Same as above for RSA key.

Microsoft.Media.ContentKeyPolicySymmetricTokenKey

Same as above for Symmetric key.

Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey

Same as above for certificate key.

requiredClaims

A list of required token claims.

Properties