live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcAccountSummary

Interface: OcAccountSummary

Defined in: types.ts:115

Multi-account roster · summary of another account this browser has signed into and can switch to without re-authenticating. Surfaced by <OcAccountMenu> in the § accounts section. Returned by the auth host's /api/auth/me as roster: [...] (an empty array on single- account or pre-multi-account sessions).

Sessions for peer accounts stay alive in the auth host's DB for the normal 30-day window; once expired, the peer falls out of the roster and the user must re-authenticate to bring it back in.

Properties

PropertyTypeDescriptionDefined in
<a id="property-didoc"></a> didOcstring-types.ts:116
<a id="property-displayidentity"></a> displayIdentityDisplayIdentity-types.ts:119
<a id="property-displayname"></a> displayNamestring | null-types.ts:117
<a id="property-lastseenat"></a> lastSeenAtstring | nullISO timestamp of the last verified request on this account's session row, or null if never touched.types.ts:122
<a id="property-primarybtc"></a> primaryBtcstring | null-types.ts:118