RefreshSessionRequest class
Constructors
-
RefreshSessionRequest({required String expiredToken, required String refreshToken, required String requestOrigin, Map<
String, Object> ? requestHeaders = const {}, RefreshSessionRequestFormatEnum? format = const RefreshSessionRequestFormatEnum._('token'), String? requestOriginatingIp}) - Returns a new RefreshSessionRequest instance.
Properties
- expiredToken ↔ String
-
The JWT that is sent via the
__sessioncookie from your frontend. Note: this JWT must be associated with the supplied session ID.getter/setter pair - format ↔ RefreshSessionRequestFormatEnum?
-
The format of the response.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- refreshToken ↔ String
-
The refresh token from the
__refreshcookie set via FAPI's handshake flow.getter/setter pair -
requestHeaders
↔ Map<
String, Object> ? -
The headers of the request.
getter/setter pair
- requestOrigin ↔ String
-
The origin of the request.
getter/setter pair
- requestOriginatingIp ↔ String?
-
The IP address of the request.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → RefreshSessionRequest? -
Returns a new RefreshSessionRequest instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RefreshSessionRequest> -
mapFromJson(
dynamic json) → Map< String, RefreshSessionRequest> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RefreshSessionRequest> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.