AdditionalValidationPolicy¶
-
class
oci.apigateway.models.
AdditionalValidationPolicy
(**kwargs)¶ Bases:
object
Additional JWT validation checks.
Methods
__init__
(**kwargs)Initializes a new AdditionalValidationPolicy object with values from keyword arguments. Attributes
audiences
Gets the audiences of this AdditionalValidationPolicy. issuers
Gets the issuers of this AdditionalValidationPolicy. verify_claims
Gets the verify_claims of this AdditionalValidationPolicy. -
__init__
(**kwargs)¶ Initializes a new AdditionalValidationPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - issuers (list[str]) – The value to assign to the issuers property of this AdditionalValidationPolicy.
- audiences (list[str]) – The value to assign to the audiences property of this AdditionalValidationPolicy.
- verify_claims (list[oci.apigateway.models.JsonWebTokenClaim]) – The value to assign to the verify_claims property of this AdditionalValidationPolicy.
-
audiences
¶ Gets the audiences of this AdditionalValidationPolicy. The list of intended recipients for the token.
Returns: The audiences of this AdditionalValidationPolicy. Return type: list[str]
-
issuers
¶ Gets the issuers of this AdditionalValidationPolicy. A list of parties that could have issued the token.
Returns: The issuers of this AdditionalValidationPolicy. Return type: list[str]
-
verify_claims
¶ Gets the verify_claims of this AdditionalValidationPolicy. A list of claims which should be validated to consider the token valid.
Returns: The verify_claims of this AdditionalValidationPolicy. Return type: list[oci.apigateway.models.JsonWebTokenClaim]
-