AuthTicket class
Constructors
- AuthTicket({int sessionId = 0, String secret = '', Opcode opcodeGroupsFromServer = Opcode.NONE, Opcode opcodeGroupsToServer = Opcode.NONE, int tcpPort = 0, int tlsPort = 0})
-
AuthTicket.fromJson(Map<
String, dynamic> json) -
factory
- AuthTicket.fromReader(TeleportObjectReader reader)
-
factory
- AuthTicket.fromTeleport(Uint8List data)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- opcodeGroupsFromServer ↔ Opcode
-
The subset of the granted groups this channel is for. Masked to what was actually issued on
arrival, so a client may narrow but never widen.
getter/setter pair
- opcodeGroupsToServer ↔ Opcode
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret ↔ String
-
getter/setter pair
- sessionId ↔ int
-
Names the grant this ticket belongs to. Not a credential — Secret is — and the server reads the
session's real context from its own copy under this key.
getter/setter pair
- tcpPort ↔ int
-
The target the proxy dials. IkonProxyServer forwards a channel to localhost:
getter/setter pair
- tlsPort ↔ int
-
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
- fieldIdOpcodeGroupsFromServer → const int
- fieldIdOpcodeGroupsToServer → const int
- fieldIdSecret → const int
- fieldIdSessionId → const int
- fieldIdTcpPort → const int
- fieldIdTlsPort → const int
- teleportOpcode → const int
- teleportVersion → const int