JwtException class

JWT exception thrown when an invalid token is encountered while parsing JWT token.

Implemented types

Constructors

JwtException(String message)
Constant constructor for a JwtException.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Exception message
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

audienceNotAllowed → const JwtException
Unallowed audience
hashMismatch → const JwtException
Hash mismatch exception
headerNotJson → const JwtException
Invalid token exception
incorrectIssuer → const JwtException
Incorrect issuer
invalidToken → const JwtException
Invalid token exception
payloadNotJson → const JwtException
Invalid token exception
tokenExpired → const JwtException
Token Expired time reached exception
tokenNotYetAccepted → const JwtException
Token Not Before time not yet reached exception
tokenNotYetIssued → const JwtException
Token Issued At time not yet reached exception