ContentKeyPolicyTokenRestriction interface

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

Extends

Properties

alternateVerificationKeys

A list of alternative verification keys.

audience

The audience for the token.

issuer

The token issuer.

odataType

Polymorphic discriminator, which specifies the different types this object can be

openIdConnectDiscoveryDocument

The OpenID connect discovery document.

primaryVerificationKey

The primary verification key.

requiredClaims

A list of required token claims.

restrictionTokenType

The type of token.

Property Details

alternateVerificationKeys

A list of alternative verification keys.

alternateVerificationKeys?: ContentKeyPolicyRestrictionTokenKeyUnion[]

Property Value

audience

The audience for the token.

audience: string

Property Value

string

issuer

The token issuer.

issuer: string

Property Value

string

odataType

Polymorphic discriminator, which specifies the different types this object can be

odataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction"

Property Value

"#Microsoft.Media.ContentKeyPolicyTokenRestriction"

openIdConnectDiscoveryDocument

The OpenID connect discovery document.

openIdConnectDiscoveryDocument?: string

Property Value

string

primaryVerificationKey

The primary verification key.

primaryVerificationKey: null | ContentKeyPolicyRestrictionTokenKeyUnion

Property Value

requiredClaims

A list of required token claims.

requiredClaims?: ContentKeyPolicyTokenClaim[]

Property Value

restrictionTokenType

The type of token.

restrictionTokenType: string

Property Value

string