Udostępnij za pośrednictwem


ContentKeyPolicyTokenRestriction Klasa

Reprezentuje ograniczenie tokenu. Podany token musi być zgodny z tymi wymaganiami dotyczącymi pomyślnego dostarczania licencji lub klucza.

Aby wysyłać na platformę Azure wszystkie wymagane parametry, należy wypełnić wszystkie wymagane parametry.

Dziedziczenie
azure.mgmt.media.models._models_py3.ContentKeyPolicyRestriction
ContentKeyPolicyTokenRestriction

Konstruktor

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)

Parametry Tylko słowo kluczowe

Nazwa Opis
issuer
str

Wystawca tokenu. Wymagane.

audience
str

Odbiorcy tokenu. Wymagane.

primary_verification_key

Podstawowy klucz weryfikacyjny. Wymagane.

alternate_verification_keys

Lista alternatywnych kluczy weryfikacji.

required_claims

Lista wymaganych oświadczeń tokenu.

restriction_token_type

Typ tokenu. Wymagane. Znane wartości to: "Unknown", "Swt" i "Jwt".

open_id_connect_discovery_document
str

Dokument OpenID connect discovery.

Zmienne

Nazwa Opis
odata_type
str

Dyskryminujący dla typów pochodnych. Wymagane.

issuer
str

Wystawca tokenu. Wymagane.

audience
str

Odbiorcy tokenu. Wymagane.

primary_verification_key

Podstawowy klucz weryfikacyjny. Wymagane.

alternate_verification_keys

Lista alternatywnych kluczy weryfikacji.

required_claims

Lista wymaganych oświadczeń tokenu.

restriction_token_type

Typ tokenu. Wymagane. Znane wartości to: "Unknown", "Swt" i "Jwt".

open_id_connect_discovery_document
str

Dokument OpenID connect discovery.