IAuthenticatedTransport class abstract interface

A transport that must prove an identity to something remote.

Opt-in rather than part of ITransport: only a relay-backed transport has anyone to authenticate to. LSL peers announce themselves on the local network and the in-memory bus is inside one process, so neither has a credential to present.

PeerSession sets localNodeUId before initialising the transport, because a hub binds every endpoint a connection claims to the node that authenticated on it — without the identity up front, a peer could claim an endpoint id belonging to a node that has not registered yet.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
localNodeUId ← String
The node identity this transport authenticates with.
no getter
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited