jwt.exceptions

Undocumented in source.

Members

Classes

ExpiredException
class ExpiredException

thrown when the tokens is expired

ExpiresBeforeValidException
class ExpiresBeforeValidException

thrown when the tokens will expire before it becomes valid usually when the nbf claim is greater than the exp claim

InvalidAlgorithmException
class InvalidAlgorithmException

thrown when the algorithm used to sign the token is invalid

InvalidSignatureException
class InvalidSignatureException

thrown when the tokens signature doesn't match the data signature

InvalidTokenException
class InvalidTokenException

thrown when there are issues with the token

MalformedToken
class MalformedToken

thrown when the token has an incorrect format

NotBeforeException
class NotBeforeException

thrown when the token is not valid yet or in other words when the nbf claim time is before the current time

UnsupportedAlgorithmException
class UnsupportedAlgorithmException

thrown when attempting to encode or decode a token with an unsupported algorithm

VerifyException
class VerifyException

thrown when there are issues with token verification

Meta