minca

Interface: Connection

Defined in: packages/auth/src/auth.ts:240

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

Properties

PropertyModifierTypeDescriptionDefined in
accessreadonly"read" | "write" | "carry"carry for a carrier, which holds passes and no keyspackages/auth/src/auth.ts:248
audiencereadonlystringThe app's keypackages/auth/src/auth.ts:246
carrySpace?readonlystringA carrier's carry space — what disconnecting takes awaypackages/auth/src/auth.ts:252
expiresAtreadonlynumberWhen its grant runs out, Unix seconds; 0 for a carrier, which never expirespackages/auth/src/auth.ts:258
grantedAtreadonlystringWhen it was connected, ISOpackages/auth/src/auth.ts:256
namereadonlystring | nullWhat the app called itselfpackages/auth/src/auth.ts:244
originreadonlystringWhere the app lives — as the browser reported it, not as the app named itselfpackages/auth/src/auth.ts:242
recordsOnly?readonlytruePresent, and true, when its note grants records onlypackages/auth/src/auth.ts:262
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/auth/src/auth.ts:268
scopereadonly"spaces" | "account"account when the app was given the whole account, not chosen spacespackages/auth/src/auth.ts:250
spacesreadonlyreadonly object[]The spaces it was given, by id and namepackages/auth/src/auth.ts:254
via?readonly"code"code for a program connected by code, at the home's own origin: kept by its keypackages/auth/src/auth.ts:260

On this page