Class TokenClaimValidationRule

    • Constructor Detail

      • TokenClaimValidationRule

        public TokenClaimValidationRule()
        No args constructor for use in serialization
    • Method Detail

      • getType

        public String getType()
        type is an optional field that configures the type of the validation rule.


        Allowed values are 'RequiredClaim' and omitted (not provided or an empty string).


        When set to 'RequiredClaim', the Kubernetes API server will be configured to validate that the incoming JWT contains the required claim and that its value matches the required value.


        Defaults to 'RequiredClaim'.

      • setType

        public void setType​(String type)
        type is an optional field that configures the type of the validation rule.


        Allowed values are 'RequiredClaim' and omitted (not provided or an empty string).


        When set to 'RequiredClaim', the Kubernetes API server will be configured to validate that the incoming JWT contains the required claim and that its value matches the required value.


        Defaults to 'RequiredClaim'.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)