InvalidClaimException
class InvalidClaimException(message: String = "Invalid claim", cause: Throwable? = null) : Exception
Exception thrown when JWT claims are invalid or missing.
This exception is thrown during JWT signing or verification when custom claims contains reserve name.
Parameters
message
The error message describing which claim is invalid
cause
The underlying cause of the exception, if any