Class JwtValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.jose.JoseException
com.revetsec.jose.JwtValidationException
- All Implemented Interfaces:
Serializable
Thrown when a well-formed token fails a check: its algorithm, key, signature, type, issuer, audience, lifetime,
required claims or confirmation claim.
Its category is ErrorCategory.VALIDATION_FAILURE, and its JoseException.Reason says which check
failed. It has no cause and is never transient.
- Since:
- 1.0.0
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class JoseException
JoseException.Reason -
Method Summary
Methods inherited from class JoseException
getReasonModifier and TypeMethodDescriptionfinal @NonNull JoseException.ReasonReturns why the input was rejected.Methods inherited from class RevetsecException
getCategory, isTemporaryConditionModifier and TypeMethodDescriptionfinal @NonNull ErrorCategoryReturns the category of this failure.Returns whether this failure is classified as a temporary condition.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString