JWT class

JSON Web Token (JWT) as defined by RFC 7519.

From RFC 7519 Section 1. Introduction:
   The suggested pronunciation of JWT is the same as the English word "jot".

The JWT is not Thread-Safe and should not be re-used.

@author Daniel DeGroff

Annotations
  • @JsonSerializable()

Constructors

JWT({dynamic aud, num exp, num iat, String iss, String jti, num nbf, String sub})
JWT.fromJson(Map<String, dynamic> json)
factory

Properties

aud ↔ dynamic
getter/setter pair
exp num
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iat num
getter/setter pair
iss String
getter/setter pair
jti String
getter/setter pair
nbf num
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sub String
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String index) → dynamic
operator []=(String index, dynamic value) → void