Copied from ConnectToken.AuthProvider — how the user signed in: google, microsoft, apple,
facebook, signicat, email, passkey, sso, or ticket for a sign-in ticket the app's own
server issued (SignInService.IssueTicketAsync). Empty for a guest, and for a sign-in that
predates the platform recording it, which is not the same as any one method. Signed by the
backend, so an app may rely on it, for example to require that its enterprise users came in
through their organisation's IdP. In a local run a test user has email (or the provider it was
given), and the developer's own sign-in has the provider its ikon login recorded, empty for a
login from before the platform recorded it (ikon doctor flags one).
The login session this client holds. Only the app sees it, like the device and sign-in fields
(DeviceId, InstallId, UserAgent, InitialPath, InitialUrl, TabId, Referrer, Parameters, AuthProvider, SsoConnectionId,
DelegationClaims, TestLinkId, TestLinkName, FeedbackAdmission, Surface, Host, HostLabel) and the placement fields: the copy of a Context that reaches another client
in the session has them empty.
Copied from ConnectToken.DelegationClaims — set only in an app the platform trusts to act for its
people. Opaque to the app: it passes the value back to the backend to act for this client. Only the
app sees it, like the sign-in fields.
Copied from ClientEnvironment.DoNotTrack — the client's user asked not to be tracked (the browser's
Do Not Track setting or the Global Privacy Control signal). The platform records no screen_opened
for such a client, and an app that measures its own use reads this before recording anything.
Client-controlled: false is not consent.
Copied from ConnectToken.EdgeRttMsec — the round-trip time, in milliseconds, between the client
and the load balancer that answered its /init, measured once when it connected. A first guess at
the connection's quality, for example to start on lighter media for a distant or slow client
before anything else is known. 0 when not measured. It is not the latency to this server.
Copied from ConnectToken.FeedbackAdmission: whether the backend offers this person the feedback
sheet, so the app server need not ask again on join. Unknown when the backend did not decide it,
as in a local run; the app server then asks the backend itself.
Copied from ConnectToken.GeoCity — the city name the load balancer placed the client in
(Helsinki). Empty when it could not, which is common. Same trust as GeoCountry.
Copied from ConnectToken.GeoCountry — the country the load balancer placed the client in at /init,
as an uppercase CLDR region code (FI, US; ISO 3166-1 alpha-2 for nearly every country). Empty
when the client was not placed, which every local run is. It is the network's location, so a VPN,
a corporate egress or a mobile carrier's gateway reports where that is rather than the person.
Only the app sees the four placement fields: the copy of a Context that reaches any other client
in the session has them empty. Resolved by the backend from the edge, never from the client, but
still a hint for what to show: a request that bypasses the load balancer carries its own value,
so never gate access, pricing or compliance on it.
Copied from ConnectToken.GeoSubdivision — the state, province or region within GeoCountry, as a
CLDR subdivision id (USCA for California). Empty whenever GeoCountry is, and where the edge
could not narrow it down. Same trust as GeoCountry.
Copied from ConnectToken.Host — the host the client opened the app on, checked by the backend
against the space's own hosts, so an app may rely on it, for example to pick the tenant a customer
domain belongs to. InitialUrl names a host too, but the client chooses that one. Empty for a native
client, and for a browser on a host that is not the space's.
Copied from ConnectToken.HostLabel — the label a wildcard hostname row matched in Host: acme for
acme.sentrix.legal under *.sentrix.legal. Empty when Host is not under a wildcard.
Copied from ConnectToken.InitialUrl — the absolute URL the browser loaded, so an app can see the
host it was reached on (a custom customer domain) and not just the path. A strict superset of
InitialPath: same SDK-internal ikon-* query params stripped, everything else kept, so
InitialUrl.PathAndQuery reproduces InitialPath. Empty when the client sends none, as most non-browser clients do, so read it as
an addition to InitialPath rather than a replacement. Client-controlled like InitialPath — treat
it as a hint and re-authorize server-side; it must never gate anything security-relevant on its own.
Copied from ConnectToken.IsAnonymous — true when the user is anonymous (guest sign-in or no
login): a device-scoped identity rather than a real account. The authoritative signal for
guest detection; AuthSessionId is a login-session identifier, not an authentication flag.
Copied from ConnectToken.IsGlobal — true when this anonymous user is the space's GLOBAL
communal identity (the "global" sign-in method), where every global visitor shares one UserId.
Always false for device-scoped guests and signed-in users; implies IsAnonymous. Lets an app
offer "continue as guest" or per-visitor features only where they make sense.
Copied from ClientEnvironment.Referrer — the origin of the site that linked to the page. Empty when
there was none or DoNotTrack is set. Only the app sees it.
Opaque, monotonically-increasing capability level advertised by the connecting SDK (companion to SdkType).
0 = legacy/unknown. Copied from ConnectToken.SdkCapability when the server builds the client Context.
Copied from ConnectToken.SnapshotVariant — the boot-snapshot variant id the capture client asks
the app to render; empty for route captures and all live clients. Client-controlled like
IsSnapshot — must never gate anything security-relevant.
Copied from ConnectToken.SsoConnectionId — the space's SSO connection the user signed in through;
empty unless AuthProvider is sso. What an app compares against the connection it assigned to one
of its tenants.
The surface this client entered, by its name in ikon-config.toml. It is ConnectToken.Surface,
which the backend checked the principal against, or the fallback surface's name when the token
names none, as a local run's token for a native client does. Only the app sees it, like the
sign-in fields: the copy of a Context that reaches another client has it empty. Empty only before
the server has read the app's config.
Copied from ClientEnvironment.TabId — the browser tab the client runs in, the same across reloads
in that tab. Empty for a non-browser client or when DoNotTrack is set. Only the app sees it.
Copied from ConnectToken.TestLinkId / TestLinkName — set when this session came in through a
test link the app's makers minted. A guest that is also a tester: the feedback button is offered
whatever the audience setting, and its reports carry the link's name. Empty otherwise.