TailscaleNodeIdentity class
Identity of a tailnet node — the result of Tailscale.whois.
Combine with Tailscale.tcp .bind(...) to authorize incoming
connections by identity: resolve the node via whois, then
check tags for tagged-node auth or userLoginName for
user-owned nodes. Tags are the preferred mechanism for
service-to-service auth on a tailnet; see
tailscale.com/kb/1068/tags.
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hostName → String
-
Tailnet-visible hostname. Also the MagicDNS label (so the node
is reachable at
<hostName>.<tailnet>.ts.net).final - nodeId → String
-
Stable Tailscale node identifier (e.g.
n1234AbCd). Persists across key rotations; prefer over public keys for durable identity references.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ACL tags attached to the
node (e.g.
['tag:server', 'tag:prod']). Empty for user-owned nodes.final -
tailscaleIPs
→ List<
String> -
Tailscale IP addresses assigned to this node.
final
- userLoginName → String
-
Owning user's login name (e.g.
alice@example.com), or empty for tagged nodes.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override