minca
ApiSessionInterfaces

Interface: Connection

Defined in: packages/core/src/session/auth.ts:236

An app this account gave access to, as the home remembers it

Properties

PropertyModifierTypeDescriptionDefined in
accessreadonly"read" | "carry" | "write"carry for a carrier, which holds passes and no keyspackages/core/src/session/auth.ts:244
audiencereadonlystringThe app's keypackages/core/src/session/auth.ts:242
carrySpace?readonlystringA carrier's carry space — what disconnecting takes awaypackages/core/src/session/auth.ts:248
expiresAtreadonlynumberWhen its grant runs out, Unix seconds; 0 for a carrier, which never expirespackages/core/src/session/auth.ts:254
grantedAtreadonlystringWhen it was connected, ISOpackages/core/src/session/auth.ts:252
namereadonlystring | nullWhat the app called itselfpackages/core/src/session/auth.ts:240
originreadonlystringWhere the app lives — as the browser reported it, not as the app named itselfpackages/core/src/session/auth.ts:238
recordsOnly?readonlytruePresent, and true, when its note grants records onlypackages/core/src/session/auth.ts:258
retired?readonlyreadonly RetiredKey[]Keys that wrote, which this connection replaced, left unrevoked: revoking from what this home has seen would withdraw what they wrote that it hasn't. Disconnecting revokes each where it was granted.packages/core/src/session/auth.ts:264
scopereadonly"spaces" | "account"account when the app was given the whole account, not chosen spacespackages/core/src/session/auth.ts:246
spacesreadonlyreadonly object[]The spaces it was given, by id and namepackages/core/src/session/auth.ts:250
via?readonly"code"code for a program connected by code, at the home's own origin: kept by its keypackages/core/src/session/auth.ts:256

On this page