ApiSessionInterfaces
Interface: AuthState
Defined in: packages/core/src/session/auth.ts:363
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
accounts | readonly | readonly AccountSummary[] | - | packages/core/src/session/auth.ts:367 |
busy | readonly | boolean | Something is in progress; buttons should wait | packages/core/src/session/auth.ts:377 |
entry | readonly | AccountEntry | null | Ways into the selected account | packages/core/src/session/auth.ts:370 |
error | readonly | AuthError | null | - | packages/core/src/session/auth.ts:378 |
folderAvailable | readonly | boolean | Whether this browser can open a pod at all | packages/core/src/session/auth.ts:380 |
freshCode | readonly | string | null | The recovery code, while the recovery screen shows it; cleared by codeSaved() | packages/core/src/session/auth.ts:373 |
moved | readonly | MovedToPod | null | - | packages/core/src/session/auth.ts:391 |
pairing | readonly | | PairingTicket | null | The phone-pairing link this page was opened with | packages/core/src/session/auth.ts:382 |
pairingArrival | readonly | | { account: | AccountSummary | null; did: string; } | null | The account a pairing brought to a device signed in to another, waiting for the person: account is set when this place already keeps it. | packages/core/src/session/auth.ts:388 |
pairingStage | readonly | PairingStage | null | - | packages/core/src/session/auth.ts:383 |
place | readonly | Place | null | Where accounts are being read from | packages/core/src/session/auth.ts:366 |
podChoice | readonly | | { contents: PodContents; from: Place; pod: Place; } | null | A pod picked while signed in, waiting on what should happen to the data | packages/core/src/session/auth.ts:390 |
podToReopen | readonly | string | null | The pod this site used last, by name, when the browser wants a click before opening it again: reopenPod from that click. | packages/core/src/session/auth.ts:398 |
selectedId | readonly | string | null | - | packages/core/src/session/auth.ts:368 |
session | readonly | MincaSession | null | - | packages/core/src/session/auth.ts:371 |
setup | readonly | AuthSetup | null | Set while the account is being set up (recovery, unlock, pod) | packages/core/src/session/auth.ts:375 |
signingOut | readonly | boolean | Signing out now: starting is this, not a look for accounts | packages/core/src/session/auth.ts:393 |
stage | readonly | AuthStage | - | packages/core/src/session/auth.ts:364 |
username | readonly | UsernameClaim | null | The username the account made here asked for; null when it asked for none | packages/core/src/session/auth.ts:400 |