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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
access | readonly | "read" | "carry" | "write" | carry for a carrier, which holds passes and no keys | packages/core/src/session/auth.ts:244 |
audience | readonly | string | The app's key | packages/core/src/session/auth.ts:242 |
carrySpace? | readonly | string | A carrier's carry space — what disconnecting takes away | packages/core/src/session/auth.ts:248 |
expiresAt | readonly | number | When its grant runs out, Unix seconds; 0 for a carrier, which never expires | packages/core/src/session/auth.ts:254 |
grantedAt | readonly | string | When it was connected, ISO | packages/core/src/session/auth.ts:252 |
name | readonly | string | null | What the app called itself | packages/core/src/session/auth.ts:240 |
origin | readonly | string | Where the app lives — as the browser reported it, not as the app named itself | packages/core/src/session/auth.ts:238 |
recordsOnly? | readonly | true | Present, and true, when its note grants records only | packages/core/src/session/auth.ts:258 |
retired? | readonly | readonly 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 |
scope | readonly | "spaces" | "account" | account when the app was given the whole account, not chosen spaces | packages/core/src/session/auth.ts:246 |
spaces | readonly | readonly object[] | The spaces it was given, by id and name | packages/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 key | packages/core/src/session/auth.ts:256 |