JWTHeader class

Constructors

JWTHeader({String? algorithm, String? type, String? audience, DateTime? expirationTime, String? id, DateTime? issuedAt, String? issuer, DateTime? notBefore, String? subject, required Map<String, dynamic> map})
JWTHeader.fromMap(Map<String, dynamic> map)
factory

Properties

algorithm String?
final
audience String?
final
expirationTime DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
issuedAt DateTime?
final
issuer String?
final
map Map<String, dynamic>
final
notBefore DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
final
type String?
final

Methods

getValue(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