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: Union[str, _models.ContentKeyPolicyRestrictionTokenType], alternate_verification_keys: Optional[List[_models.ContentKeyPolicyRestrictionTokenKey]] = None, required_claims: Optional[List[_models.ContentKeyPolicyTokenClaim]] = None, open_id_connect_discovery_document: Optional[str] = None, **kwargs)
Variables
- odata_type
- str
Required. The discriminator for derived types.Constant filled by server.
- issuer
- str
Required. The token issuer.
- audience
- str
Required. The audience for the token.
- primary_verification_key
- ContentKeyPolicyRestrictionTokenKey
Required. The primary verification key.
- alternate_verification_keys
- list[ContentKeyPolicyRestrictionTokenKey]
A list of alternative verification keys.
- required_claims
- list[ContentKeyPolicyTokenClaim]
A list of required token claims.
- restriction_token_type
- str or ContentKeyPolicyRestrictionTokenType
Required. The type of token. Known values are: "Unknown", "Swt", "Jwt".
- open_id_connect_discovery_document
- str
The OpenID connect discovery document.
Feedback
Submit and view feedback for