Class AllowedAudiencesValidation


  • public final class AllowedAudiencesValidation
    extends Object
    The configuration settings of the Allowed Audiences validation flow.
    • Constructor Detail

      • AllowedAudiencesValidation

        public AllowedAudiencesValidation()
    • Method Detail

      • allowedAudiences

        public List<String> allowedAudiences()
        Get the allowedAudiences property: The configuration settings of the allowed list of audiences from which to validate the JWT token.
        Returns:
        the allowedAudiences value.
      • withAllowedAudiences

        public AllowedAudiencesValidation withAllowedAudiences​(List<String> allowedAudiences)
        Set the allowedAudiences property: The configuration settings of the allowed list of audiences from which to validate the JWT token.
        Parameters:
        allowedAudiences - the allowedAudiences value to set.
        Returns:
        the AllowedAudiencesValidation object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.