JwtStrategy class
A class that represents a JWT strategy
- Inheritance
-
- Object
- Strategy<
JwtStrategyOptions> - JwtStrategy
Constructors
-
JwtStrategy.new(JwtStrategyOptions options, StrategyCallback<
JwtStrategyOptions, Object> callback)
Properties
-
callback
→ StrategyCallback<
JwtStrategyOptions, Object> -
The callback to call when the strategy is done
finalinherited
- done → void Function(Object? result)
-
The callback to call when the strategy is done
no setterinherited
-
future
→ Future<
Object?> -
The future of the strategy
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the strategy
no setteroverride
- options → JwtStrategyOptions
-
The options for the strategy
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
StrategyRequest request) → Future< void> -
Authenticate the request
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Reset the strategy
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited