JWTToken class

Constructors

JWTToken({required String raw, required JWTHeader header, required JWTBody body, required String signature})
JWTToken.fromToken(String raw)
factory

Properties

body JWTBody
latefinal
hashCode int
The hash code for this object.
no setterinherited
latefinal
raw String
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
latefinal

Methods

getBody(String key) → dynamic
getHeader(String key) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifyExpiration(DateTime currentTime) bool
verifyExpirationWithCurrentTime() bool
verifyIssueDate(DateTime currentTime) bool
verifyIssueDateWithCurrentTime() bool
verifyNotBefore(DateTime currentTime) bool
verifyNotBeforeWithCurrentTime() bool
verifyTime(DateTime currentTime) bool
verifyTimeWithCurrentTime() bool

Operators

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