ExpressJwtMap class
- Implemented types
Constructors
- ExpressJwtMap(ExpressJwtConfig config, {ExpressJwtValidationConfig? validationConfig = const ExpressJwtValidationConfig(), String subjectKey = "id"})
Properties
- config → ExpressJwtConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subjectKey → String
-
final
- validationConfig → ExpressJwtValidationConfig?
-
final
Methods
-
decode(
String token) → Map< String, String> ? -
Decodes
value
into Mapoverride -
encode(
Map< String, String> values) → String -
Encodes the given Map
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
JwtExpress claimSet, {ExpressRequest? req}) → void -
Validates the given JWT claim set
claimSet
against validationConfig
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited