ContentKeyPolicyTokenRestriction Class
Represents a token restriction. Provided token must match these requirements for successful license or key delivery.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.media.models._models_py3.ContentKeyPolicyRestrictionContentKeyPolicyTokenRestriction
Constructor
ContentKeyPolicyTokenRestriction(*, issuer: str, audience: str, primary_verification_key: _models.ContentKeyPolicyRestrictionTokenKey, restriction_token_type: str | _models.ContentKeyPolicyRestrictionTokenType, alternate_verification_keys: List[_models.ContentKeyPolicyRestrictionTokenKey] | None = None, required_claims: List[_models.ContentKeyPolicyTokenClaim] | None = None, open_id_connect_discovery_document: str | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
issuer
|
The token issuer. Required. |
audience
|
The audience for the token. Required. |
primary_verification_key
|
The primary verification key. Required. |
alternate_verification_keys
|
A list of alternative verification keys. |
required_claims
|
A list of required token claims. |
restriction_token_type
|
The type of token. Required. Known values are: "Unknown", "Swt", and "Jwt". |
open_id_connect_discovery_document
|
The OpenID connect discovery document. |
Variables
Name | Description |
---|---|
odata_type
|
The discriminator for derived types. Required. |
issuer
|
The token issuer. Required. |
audience
|
The audience for the token. Required. |
primary_verification_key
|
The primary verification key. Required. |
alternate_verification_keys
|
A list of alternative verification keys. |
required_claims
|
A list of required token claims. |
restriction_token_type
|
The type of token. Required. Known values are: "Unknown", "Swt", and "Jwt". |
open_id_connect_discovery_document
|
The OpenID connect discovery document. |
Azure SDK for Python