@orangecheck/auth-core / DisplayIdentity
Interface: DisplayIdentity
Defined in: index.ts:51
The identity a user has chosen to display in their account badge —
carried as a JWT claim so every .ochk.io subdomain (and any
integrator reading the session) renders the same label with no
network round-trip, exactly like name / npub.
kind is which identity; value is the full, renderable value (the
did:oc, the Bitcoin address, the email, or the npub). Only the
promoted identity's value is carried — never the whole identity
set — so an unrelated email never enters the token.
Properties
| Property | Type | Defined in |
|---|---|---|
<a id="property-kind"></a> kind | "did" | "btc" | "email" | "nostr" | index.ts:52 |
<a id="property-value"></a> value | string | index.ts:53 |