# Interface: AuthState

Defined in: [packages/core/src/session/auth.ts:363](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L363)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-accounts"></a> `accounts` | `readonly` | readonly [`AccountSummary`](https://minca.dev/api/core/interfaces/AccountSummary.md)[] | - | [packages/core/src/session/auth.ts:367](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L367) |
| <a id="property-busy"></a> `busy` | `readonly` | `boolean` | Something is in progress; buttons should wait | [packages/core/src/session/auth.ts:377](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L377) |
| <a id="property-entry"></a> `entry` | `readonly` | [`AccountEntry`](https://minca.dev/api/session/interfaces/AccountEntry.md) \| `null` | Ways into the selected account | [packages/core/src/session/auth.ts:370](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L370) |
| <a id="property-error"></a> `error` | `readonly` | [`AuthError`](https://minca.dev/api/session/interfaces/AuthError.md) \| `null` | - | [packages/core/src/session/auth.ts:378](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L378) |
| <a id="property-folderavailable"></a> `folderAvailable` | `readonly` | `boolean` | Whether this browser can open a pod at all | [packages/core/src/session/auth.ts:380](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L380) |
| <a id="property-freshcode"></a> `freshCode` | `readonly` | `string` \| `null` | The recovery code, while the `recovery` screen shows it; cleared by `codeSaved()` | [packages/core/src/session/auth.ts:373](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L373) |
| <a id="property-moved"></a> `moved` | `readonly` | [`MovedToPod`](https://minca.dev/api/session/interfaces/MovedToPod.md) \| `null` | - | [packages/core/src/session/auth.ts:391](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L391) |
| <a id="property-pairing"></a> `pairing` | `readonly` | \| [`PairingTicket`](https://minca.dev/api/core/interfaces/PairingTicket.md) \| `null` | The phone-pairing link this page was opened with | [packages/core/src/session/auth.ts:382](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L382) |
| <a id="property-pairingarrival"></a> `pairingArrival` | `readonly` | \| \{ `account`: \| [`AccountSummary`](https://minca.dev/api/core/interfaces/AccountSummary.md) \| `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](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L388) |
| <a id="property-pairingstage"></a> `pairingStage` | `readonly` | [`PairingStage`](https://minca.dev/api/session/type-aliases/PairingStage.md) \| `null` | - | [packages/core/src/session/auth.ts:383](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L383) |
| <a id="property-place"></a> `place` | `readonly` | [`Place`](https://minca.dev/api/session/interfaces/Place.md) \| `null` | Where accounts are being read from | [packages/core/src/session/auth.ts:366](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L366) |
| <a id="property-podchoice"></a> `podChoice` | `readonly` | \| \{ `contents`: [`PodContents`](https://minca.dev/api/session/interfaces/PodContents.md); `from`: [`Place`](https://minca.dev/api/session/interfaces/Place.md); `pod`: [`Place`](https://minca.dev/api/session/interfaces/Place.md); \} \| `null` | A pod picked while signed in, waiting on what should happen to the data | [packages/core/src/session/auth.ts:390](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L390) |
| <a id="property-podtoreopen"></a> `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](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L398) |
| <a id="property-selectedid"></a> `selectedId` | `readonly` | `string` \| `null` | - | [packages/core/src/session/auth.ts:368](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L368) |
| <a id="property-session"></a> `session` | `readonly` | [`MincaSession`](https://minca.dev/api/session/interfaces/MincaSession.md) \| `null` | - | [packages/core/src/session/auth.ts:371](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L371) |
| <a id="property-setup"></a> `setup` | `readonly` | [`AuthSetup`](https://minca.dev/api/session/type-aliases/AuthSetup.md) \| `null` | Set while the account is being set up (`recovery`, `unlock`, `pod`) | [packages/core/src/session/auth.ts:375](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L375) |
| <a id="property-signingout"></a> `signingOut` | `readonly` | `boolean` | Signing out now: `starting` is this, not a look for accounts | [packages/core/src/session/auth.ts:393](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L393) |
| <a id="property-stage"></a> `stage` | `readonly` | [`AuthStage`](https://minca.dev/api/session/type-aliases/AuthStage.md) | - | [packages/core/src/session/auth.ts:364](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L364) |
| <a id="property-username"></a> `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](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L400) |
