ContentKeyPolicyTokenRestriction

object

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

@odata.typestringRequired
The discriminator for derived types.
alternateVerificationKeyslist of objectsOptional
A list of alternative verification keys.
Show 3 variantsHide 3 variants

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.ContentKeyPolicyRsaTokenKeyobjectContentKeyPolicyRsaTokenKey
Specifies a RSA key for token validation
@odata.typestringRequired
The discriminator for derived types.
exponentstring or nullRequiredformat: byte
The RSA Parameter exponent
modulusstring or nullRequiredformat: byte
The RSA Parameter modulus
#Microsoft.Media.ContentKeyPolicySymmetricTokenKeyobjectContentKeyPolicySymmetricTokenKey
Specifies a symmetric key for token validation.
@odata.typestringRequired
The discriminator for derived types.
keyValuestring or nullRequiredformat: byte
The key value of the key
#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKeyobjectContentKeyPolicyX509CertificateTokenKey
Specifies a certificate for token validation.
@odata.typestringRequired
The discriminator for derived types.
rawBodystring or nullRequiredformat: byte
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
audiencestringRequired
The audience for the token.
issuerstringRequired
The token issuer.
openIdConnectDiscoveryDocumentstringOptional
The OpenID connect discovery document.
primaryVerificationKeyobject or nullRequired
The primary verification key.
Show 3 variantsHide 3 variants

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.ContentKeyPolicyRsaTokenKeyobjectContentKeyPolicyRsaTokenKey
Specifies a RSA key for token validation
@odata.typestringRequired
The discriminator for derived types.
exponentstring or nullRequiredformat: byte
The RSA Parameter exponent
modulusstring or nullRequiredformat: byte
The RSA Parameter modulus
#Microsoft.Media.ContentKeyPolicySymmetricTokenKeyobjectContentKeyPolicySymmetricTokenKey
Specifies a symmetric key for token validation.
@odata.typestringRequired
The discriminator for derived types.
keyValuestring or nullRequiredformat: byte
The key value of the key
#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKeyobjectContentKeyPolicyX509CertificateTokenKey
Specifies a certificate for token validation.
@odata.typestringRequired
The discriminator for derived types.
rawBodystring or nullRequiredformat: byte
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
requiredClaimslist of objectsContentKeyPolicyTokenClaimOptional
A list of required token claims.
Show 2 propertiesHide 2 properties
claimTypestringOptional
Token claim type.
claimValuestringOptional
Token claim value.
restrictionTokenTypeenumRequired
The type of token.
Allowed values:UnknownSwtJwt