Class JwtValidatorResult
java.lang.Object
org.forgerock.openig.tools.jwt.validation.JwtValidatorResult
A class that handles the results for the JWT validation.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of theViolationif this JWT is invalid.AggregategetViolations()result into a comma separated string.booleanisValid()Returnstrueif the JWT is valid,falseotherwise.
-
Method Details
-
isValid
public boolean isValid()Returnstrueif the JWT is valid,falseotherwise.- Returns:
trueif the JWT is valid,falseotherwise.
-
getViolations
Returns the list of theViolationif this JWT is invalid.- Returns:
- the list of the
Violationif this JWT is invalid.
-
getViolationsAsString
AggregategetViolations()result into a comma separated string.- Returns:
- a human-readable list of violations.
-