JsonWebTokenClaims class

The set of claims conveyed by the JsonWebToken

Constructors

JsonWebTokenClaims.fromJson(Map<String, dynamic>? json)
Constructs a JsonWebTokenClaims from a json map

Properties

audience List<String>?
Identifies the recipients that the JWT is intended for.
no setter
expiry DateTime?
Identifies the expiration time on or after which the JWT MUST NOT be accepted for processing.
no setter
hashCode int
The hash code for this object.
no setterinherited
issuedAt DateTime?
Identifies the time at which the JWT was issued.
no setter
issuer Uri?
Identifies the principal that issued the JWT.
no setter
jwtId String?
Provides a unique identifier for the JWT.
no setter
notBefore DateTime?
Identifies the time before which the JWT MUST NOT be accepted for processing.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sid String?
Session ID
no setter
subject String?
Identifies the principal that is the subject of the JWT.
no setter

Methods

getTyped<T>(String key, {T factory(dynamic v)?}) → T?
Returns the property key as a typed object
inherited
getTypedList<T>(String key, {T factory(dynamic v)?}) List<T>?
Returns the property key as a typed list
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBase64EncodedString() String
Returns the base64 representation
inherited
toBytes() List<int>
Returns the bytes representing the encoded JSON
inherited
toJson() Map<String, dynamic>
Returns a JSON representation
inherited
toString() String
A string representation of this object.
inherited
validate({Duration expiryTolerance = const Duration(), Uri? issuer, String? clientId}) Iterable<JoseException>

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
Returns the property key as a core dart value
inherited