Represents a token restriction. Provided token must match these requirements for successful license or key delivery.
-
Constructor Summary
Constructors
Creates an instance of ContentKeyPolicyTokenRestriction class.
-
Method Summary
Get the alternateVerificationKeys property: A list of alternative verification keys.
Get the audience property: The audience for the token.
Get the issuer property: The token issuer.
Get the openIdConnectDiscoveryDocument property: The OpenID connect discovery document.
Get the primaryVerificationKey property: The primary verification key.
Get the requiredClaims property: A list of required token claims.
Get the restrictionTokenType property: The type of token.
void
Set the alternateVerificationKeys property: A list of alternative verification keys.
Set the audience property: The audience for the token.
Set the issuer property: The token issuer.
Set the openIdConnectDiscoveryDocument property: The OpenID connect discovery document.
Set the primaryVerificationKey property: The primary verification key.
Set the requiredClaims property: A list of required token claims.
Set the restrictionTokenType property: The type of token.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ContentKeyPolicyTokenRestriction
public ContentKeyPolicyTokenRestriction()
Creates an instance of ContentKeyPolicyTokenRestriction class.
-
Method Details
-
issuer
Get the issuer property: The token issuer.
- Returns:
- the issuer value.
-
withIssuer
Set the issuer property: The token issuer.
- Parameters:
issuer
- the issuer value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
audience
Get the audience property: The audience for the token.
- Returns:
- the audience value.
-
withAudience
Set the audience property: The audience for the token.
- Parameters:
audience
- the audience value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
primaryVerificationKey
Get the primaryVerificationKey property: The primary verification key.
- Returns:
- the primaryVerificationKey value.
-
withPrimaryVerificationKey
Set the primaryVerificationKey property: The primary verification key.
- Parameters:
primaryVerificationKey
- the primaryVerificationKey value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
alternateVerificationKeys
Get the alternateVerificationKeys property: A list of alternative verification keys.
- Returns:
- the alternateVerificationKeys value.
-
withAlternateVerificationKeys
Set the alternateVerificationKeys property: A list of alternative verification keys.
- Parameters:
alternateVerificationKeys
- the alternateVerificationKeys value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
requiredClaims
Get the requiredClaims property: A list of required token claims.
- Returns:
- the requiredClaims value.
-
withRequiredClaims
Set the requiredClaims property: A list of required token claims.
- Parameters:
requiredClaims
- the requiredClaims value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
restrictionTokenType
Get the restrictionTokenType property: The type of token.
- Returns:
- the restrictionTokenType value.
-
withRestrictionTokenType
Set the restrictionTokenType property: The type of token.
- Parameters:
restrictionTokenType
- the restrictionTokenType value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-
openIdConnectDiscoveryDocument
public String openIdConnectDiscoveryDocument()
Get the openIdConnectDiscoveryDocument property: The OpenID connect discovery document.
- Returns:
- the openIdConnectDiscoveryDocument value.
-
withOpenIdConnectDiscoveryDocument
Set the openIdConnectDiscoveryDocument property: The OpenID connect discovery document.
- Parameters:
openIdConnectDiscoveryDocument
- the openIdConnectDiscoveryDocument value to set.
- Returns:
- the ContentKeyPolicyTokenRestriction object itself.
-