Class JwtValidatorResult


  • public final class JwtValidatorResult
    extends Object
    A class that handles the results for the JWT validation.
    • Method Detail

      • isValid

        public boolean isValid()
        Returns true if the JWT is valid, false otherwise.
        Returns:
        true if the JWT is valid, false otherwise.
      • getViolations

        public List<Violation> getViolations()
        Returns the list of the Violation if this JWT is invalid.
        Returns:
        the list of the Violation if this JWT is invalid.