ExpressJwtConfig class

JWT config model used to issue new JWT tokens

Constructors

ExpressJwtConfig(String hmacKey, {String? issuer, List<String> audience = const [], Duration maxAge = const Duration(days: 1)})
const

Properties

audience List<String>
Audience in the token
final
hashCode int
The hash code for this object.
no setterinherited
hmacKey String
HS256 key
final
issuer String?
Issuer of the token
final
maxAge Duration
Maximum duration for which the token is valid
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.
inherited

Operators

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