AuthResponse class
Constructors
-
AuthResponse({Context? clientContext, Context? serverContext, String certHash = '', List<
Entrypoint> entrypoints = const [], Map<String, bool> featureFlags = const {}, String spaceId = '', String appSessionId = '', String ikonServerId = '', String primaryUserId = '', int keepaliveTimeoutMs = 0, int serverCapability = 0, int softRetryWindowMs = 0}) -
AuthResponse.fromJson(Map<
String, dynamic> json) -
factory
- AuthResponse.fromReader(TeleportObjectReader reader)
-
factory
- AuthResponse.fromTeleport(Uint8List data)
-
factory
Properties
- appSessionId ↔ String
-
The app session this server was provisioned for — the session's business identity, stable across
the servers that run it.
getter/setter pair
- certHash ↔ String
-
getter/setter pair
- clientContext ↔ Context?
-
getter/setter pair
-
entrypoints
↔ List<
Entrypoint> -
getter/setter pair
-
featureFlags
↔ Map<
String, bool> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ikonServerId ↔ String
-
The provisioned server instance serving this connection.
getter/setter pair
- keepaliveTimeoutMs ↔ int
-
getter/setter pair
- primaryUserId ↔ String
-
getter/setter pair
- retiredFields ↔ AuthResponseRetiredFields?
-
Retired ledger values captured on read: keys the schema no longer names, kept so
code upgrading from an older peer can still reach them. Null when the source carried none.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverCapability ↔ int
-
getter/setter pair
- serverContext ↔ Context?
-
getter/setter pair
- softRetryWindowMs ↔ int
-
How long a dropped client's session and auth ticket stay resumable, in milliseconds. A reconnect
within this window may retry soft (reusing the ticket); past it the server has let the session go.
0 means the server predates the field; clients fall back to their built-in window.
getter/setter pair
- spaceId ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toProtocolMessage(
int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage -
toString(
) → String -
A string representation of this object.
inherited
-
toTeleport(
) → Uint8List -
writeTo(
TeleportObjectWriter scope) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fieldIdAppSessionId → const int
- fieldIdCertHash → const int
- fieldIdClientContext → const int
- fieldIdEntrypoints → const int
- fieldIdFeatureFlags → const int
- fieldIdIkonServerId → const int
- fieldIdKeepaliveTimeoutMs → const int
- fieldIdPrimaryUserId → const int
- fieldIdServerCapability → const int
- fieldIdServerContext → const int
- fieldIdSoftRetryWindowMs → const int
- fieldIdSpaceId → const int
- retiredFieldIdServerSessionId → const int
- teleportOpcode → const int
- teleportVersion → const int