JwtSessionProvider class abstract
A JWT based session provider.
The JWT is sent to the backend to be able to track the authentication session.
- Inheritance
-
- Object
- SessionProvider
- JwtSessionProvider
Constructors
- JwtSessionProvider({required String jwt})
-
Default constructor for JwtSessionProvider.
Params:
factory
-
JwtSessionProvider.fromJson(Map<
String, dynamic> json) -
Alternate constructor that creates a JwtSessionProvider from a json.
factory
Properties
Methods
-
fromJson(
Map< String, dynamic> json) → dynamic -
Returns a value of the type you specify, deserialized from a JSON object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON-encoded representation of the value you supply.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited